File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ function do_build_lib {
143143 Linux-aarch64)
144144 local bitness=64
145145 local target=ARMV8
146+ # temporarily limit the kernels for travis until there is data
147+ # see https://github.com/MacPython/openblas-libs/issues/170
148+ local dynamic_list=" ARMV8 CORTEXA57 THUNDERX"
146149 ;;
147150 Darwin-arm64)
148151 local bitness=64
@@ -177,11 +180,18 @@ function do_build_lib {
177180 git config --global --add safe.directory ' *'
178181 pushd OpenBLAS
179182 patch_source
180- CFLAGS=" $CFLAGS -fvisibility=protected -Wno-uninitialized" \
181- make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
182- USE_OPENMP=0 NUM_THREADS=64 \
183- BINARY=$bitness $interface_flags TARGET=$target \
184- DYNAMIC_LIST=" $dynamic_list " > /dev/null
183+ if [ -v dynamic_list ]; then
184+ CFLAGS=" $CFLAGS -fvisibility=protected -Wno-uninitialized" \
185+ make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
186+ USE_OPENMP=0 NUM_THREADS=64 \
187+ BINARY=$bitness $interface_flags TARGET=$target \
188+ DYNAMIC_LIST=" $dynamic_list " > /dev/null
189+ else
190+ CFLAGS=" $CFLAGS -fvisibility=protected -Wno-uninitialized" \
191+ make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
192+ USE_OPENMP=0 NUM_THREADS=64 \
193+ BINARY=$bitness $interface_flags TARGET=$target > /dev/null
194+ fi
185195 make PREFIX=$BUILD_PREFIX $interface_flags install
186196 popd
187197 stop_spinner
You can’t perform that action at this time.
0 commit comments