File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,15 @@ DLL_BASENAME=libscipy_openblas${SYMBOLSUFFIX}_${LIBNAMESUFFIX}
107
107
static_libname=$( find . -maxdepth 1 -type f -name ' *.a' \! -name ' *.dll.a' | tail -1)
108
108
make -C exports $interface_flags objcopy.def
109
109
110
- if [ " $build_bits " == 32 ]; then
110
+ if [ " $build_bits " == " 32 " ]; then
111
111
sed -i " s/^/_/" exports/objcopy.def
112
112
sed -i " s/scipy_/_scipy_/" exports/objcopy.def
113
- echo " make sure both columns have leading underscores "
114
- head -10 exports/ objcopy. def
113
+ else
114
+ echo not updating objcopy, def, buildbits= $build_bits
115
115
fi
116
+ echo " \nshow some of objcopy.def"
117
+ head -10 exports/objcopy.def
118
+ echo
116
119
objcopy --redefine-syms exports/objcopy.def " ${static_libname} " " ${static_libname} .renamed"
117
120
cp -f " ${static_libname} .renamed" " $openblas_root /$build_bits /lib/${static_libname} "
118
121
cp -f " ${static_libname} .renamed" " $openblas_root /$build_bits /lib/${DLL_BASENAME} .a"
You can’t perform that action at this time.
0 commit comments