Skip to content

Commit 9014d04

Browse files
committed
debug differently
1 parent 1d38514 commit 9014d04

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

tools/build_openblas.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ DLL_BASENAME=libscipy_openblas${SYMBOLSUFFIX}_${LIBNAMESUFFIX}
106106
# do it ourselves
107107
static_libname=$(find . -maxdepth 1 -type f -name '*.a' \! -name '*.dll.a' | tail -1)
108108
make -C exports $interface_flags objcopy.def
109-
echo exports/objcopy.def
110-
echo ------------------------
111-
cat exports/objcopy.def
112-
echo ------------------------
113109
objcopy --redefine-syms exports/objcopy.def "${static_libname}" "${static_libname}.renamed"
114110
cp -f "${static_libname}.renamed" "$openblas_root/$build_bits/lib/${static_libname}"
115111
cp -f "${static_libname}.renamed" "$openblas_root/$build_bits/lib/${DLL_BASENAME}.a"
@@ -129,10 +125,6 @@ dlltool --input-def ${DLL_BASENAME}.def \
129125
--output-lib ${DLL_BASENAME}.lib
130126
# Replace the DLL name with the generated name.
131127
sed -i "s/ -lopenblas.*$/ -l${DLL_BASENAME:3}/g" pkgconfig/openblas*.pc
132-
echo After sed -i, pkgconfig/openblas*.pc is
133-
echo ------------
134-
cat pkgconfig/openblas*.pc
135-
echo ------------
136128
cd ../..
137129
# Build template site.cfg for using this build
138130
cat > ${build_bits}/site.cfg.template << EOF
@@ -141,6 +133,9 @@ libraries = $DLL_BASENAME
141133
library_dirs = {openblas_root}\\${build_bits}\\lib
142134
include_dirs = {openblas_root}\\${build_bits}\\include
143135
EOF
136+
137+
ls $openblas_root/$build_bits/lib
138+
144139
zip_name="openblas${SYMBOLSUFFIX}-${OPENBLAS_VERSION}-${plat_tag}-${GCC_TAG}.zip"
145140
zip -r $zip_name $build_bits
146141
cp $zip_name ${builds_dir}

0 commit comments

Comments
 (0)