Skip to content

Commit 4a70662

Browse files
committed
fix travis error
Co-authored by: nijincheng@iscas.ac.cn;
1 parent ab8b10d commit 4a70662

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tools/build_wheel.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22
# $INTERFACE64 ("1" or "0")
33
# $PLAT (x86_64, i686, arm64, aarch64, s390x, ppc64le)
44

5+
# The code below is for Travis use only.
6+
57
set -xe
68

9+
if [[ ! -e tools/build_prepare.sh ]];then
10+
cd /openblas
11+
fi
12+
713
source tools/build_prepare.sh
814

915
$PYTHON -m pip wheel -w dist -v .
1016

11-
# The code below is for Travis use only.
12-
1317
auditwheel repair -w dist --lib-sdir /lib dist/*.whl
1418
rm dist/scipy_openblas*-none-any.whl
1519
# Add an RPATH to libgfortran:

0 commit comments

Comments
 (0)