File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
cd $( cygpath " $START_DIR " )
6
6
OBP=$( cygpath $OPENBLAS_ROOT \\ $BUILD_BITS )
7
7
8
- static_libname=$( find $OBP /lib -maxdepth 1 -type f -name ' *.a' \! -name ' *.dll.a' | head -1)
9
- dynamic_libname=$( find $OBP /lib -maxdepth 1 -type f -name ' *.dll.a' | head -1)
8
+ static_libname=$( find $OBP /lib -maxdepth 1 -type f -name ' *.a' \! -name ' *.dll.a' | tail -1)
9
+ dynamic_libname=$( find $OBP /lib -maxdepth 1 -type f -name ' *.dll.a' | tail -1)
10
10
11
11
if [ " $INTERFACE64 " == " 1" ]; then
12
12
gfortran -I $OBP /include -fdefault-integer-8 -o test.exe test64_.f90 $static_libname
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ if [ "$INTERFACE64" == "1" ]; then
79
79
# OpenBLAS does not build a symbol-suffixed static library on Windows:
80
80
# do it ourselves
81
81
set -x # echo commands
82
- static_libname=$( find . -maxdepth 1 -type f -name ' *.a' \! -name ' *.dll.a' | head -1)
82
+ static_libname=$( find . -maxdepth 1 -type f -name ' *.a' \! -name ' *.dll.a' | tail -1)
83
83
make -C exports $interface64_flags objcopy.def
84
84
objcopy --redefine-syms exports/objcopy.def " ${static_libname} " " ${static_libname} .renamed"
85
85
cp -f " ${static_libname} .renamed" " $OPENBLAS_ROOT /$BUILD_BITS /lib/${static_libname} "
You can’t perform that action at this time.
0 commit comments