Skip to content

Commit 1d38514

Browse files
committed
more debugging
1 parent 49f62b1 commit 1d38514

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/build_openblas.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,15 @@ DLL_BASENAME=libscipy_openblas${SYMBOLSUFFIX}_${LIBNAMESUFFIX}
104104

105105
# OpenBLAS does not build a symbol-suffixed static library on Windows:
106106
# do it ourselves
107-
set -x # echo commands
108107
static_libname=$(find . -maxdepth 1 -type f -name '*.a' \! -name '*.dll.a' | tail -1)
109108
make -C exports $interface_flags objcopy.def
109+
echo exports/objcopy.def
110+
echo ------------------------
111+
cat exports/objcopy.def
112+
echo ------------------------
110113
objcopy --redefine-syms exports/objcopy.def "${static_libname}" "${static_libname}.renamed"
111114
cp -f "${static_libname}.renamed" "$openblas_root/$build_bits/lib/${static_libname}"
112115
cp -f "${static_libname}.renamed" "$openblas_root/$build_bits/lib/${DLL_BASENAME}.a"
113-
set +x
114116

115117
cd $openblas_root
116118
# Copy library link file for custom name

0 commit comments

Comments
 (0)