Skip to content

Commit 087c6e4

Browse files
Merge pull request #84 from matthew-brett/arm64-work
MRG: Fix for CFLAGS The following line is wiping out the set `CFLAGS` for the cross-compile: ``` && CFLAGS="-fvisibility=protected" make BUFFERSIZE=20 ... ``` https://github.com/MacPython/openblas-libs/runs/6817632611 Put the existing CFLAGS back.
2 parents b9aefee + b0ca27d commit 087c6e4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

travis-ci/build_steps.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ function do_build_lib {
133133
;;
134134
Darwin-arm64)
135135
local bitness=64
136-
# https://github.com/xianyi/OpenBLAS/issues/3659
137-
local target_flags="TARGET=VORTEX NO_EXPRECISION=1"
136+
local target_flags="TARGET=VORTEX"
138137
;;
139138
*-s390x)
140139
local bitness=64
@@ -164,7 +163,7 @@ function do_build_lib {
164163
git config --global --add safe.directory '*'
165164
(cd OpenBLAS \
166165
&& patch_source \
167-
&& CFLAGS="-fvisibility=protected" make BUFFERSIZE=20 DYNAMIC_ARCH=1 USE_OPENMP=0 NUM_THREADS=64 BINARY=$bitness $interface64_flags $target_flags > /dev/null \
166+
&& CFLAGS="$CFLAGS -fvisibility=protected" make BUFFERSIZE=20 DYNAMIC_ARCH=1 USE_OPENMP=0 NUM_THREADS=64 BINARY=$bitness $interface64_flags $target_flags > /dev/null \
168167
&& make PREFIX=$BUILD_PREFIX $interface64_flags install )
169168
stop_spinner
170169
local version=$(cd OpenBLAS && git describe --tags --abbrev=8)

0 commit comments

Comments
 (0)