Skip to content

Commit 3a5fdd0

Browse files
committed
add dynamic_list to aarch64 builds, issue 170
1 parent fcf80fe commit 3a5fdd0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tools/build_steps.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ function do_build_lib {
142142
Linux-aarch64)
143143
local bitness=64
144144
local target=ARMV8
145+
# temporarily limit the kernels for travis until there is data
146+
# see https://github.com/MacPython/openblas-libs/issues/170
147+
local dynamic_list="ARMV8 CORTEXA57 NEOVERSEV1 THUNDERX"
145148
;;
146149
Darwin-arm64)
147150
local bitness=64
@@ -175,23 +178,25 @@ function do_build_lib {
175178
git config --global --add safe.directory '*'
176179
pushd OpenBLAS
177180
patch_source
178-
echo start building
179181
if [ -v dynamic_list ]; then
180182
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
181183
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
182184
USE_OPENMP=0 NUM_THREADS=64 \
183185
DYNAMIC_LIST="$dynamic_list" \
184186
BINARY=$bitness $interface_flags $target_flags shared 2>&1 1>/dev/null
187+
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
188+
USE_OPENMP=0 NUM_THREADS=64 \
189+
DYNAMIC_LIST="$dynamic_list" \
190+
BINARY=$bitness $interface_flags $target_flags tests
185191
else
186192
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
187193
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
188194
USE_OPENMP=0 NUM_THREADS=64 \
189195
BINARY=$bitness $interface_flags $target_flags shared 2>&1 1>/dev/null
196+
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
197+
USE_OPENMP=0 NUM_THREADS=64 \
198+
BINARY=$bitness $interface_flags $target_flags tests
190199
fi
191-
echo done building, now testing
192-
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
193-
USE_OPENMP=0 NUM_THREADS=64 \
194-
BINARY=$bitness $interface_flags $target_flags tests
195200
make PREFIX=$BUILD_PREFIX $interface_flags install
196201
popd
197202
if [ "$nightly" = "1" ]; then

0 commit comments

Comments
 (0)