Skip to content

Commit

Permalink
limit musllinux_1_1_aarch64 kernels, use QUIET_MAKE
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Jul 30, 2024
1 parent fa286b3 commit fab6282
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/build_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,11 @@ function do_build_lib {
local target=ARMV8
# temporarily limit the kernels for travis until there is data
# see https://github.com/MacPython/openblas-libs/issues/170
local dynamic_list="ARMV8 CORTEXA57 NEOVERSEV1 THUNDERX"
if [ "$MB_ML_LIBC" == "musllinux" ]; then
local dynamic_list="ARMV8 CORTEXA57 THUNDERX"
else
local dynamic_list="ARMV8 CORTEXA57 NEOVERSEV1 THUNDERX"
fi
;;
Darwin-arm64)
local bitness=64
Expand Down Expand Up @@ -180,14 +184,10 @@ function do_build_lib {
patch_source
if [ -v dynamic_list ]; then
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
make BUFFERSIZE=20 DYNAMIC_ARCH=1 QUIET_MAKE=1 \
USE_OPENMP=0 NUM_THREADS=64 \
DYNAMIC_LIST="$dynamic_list" \
BINARY=$bitness $interface_flags TARGET="$target" shared 2>&1 1>/dev/null
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
USE_OPENMP=0 NUM_THREADS=64 \
DYNAMIC_LIST="$dynamic_list" \
BINARY=$bitness $interface_flags TARGET="$target" tests
BINARY=$bitness $interface_flags TARGET="$target"
else
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
Expand Down

0 comments on commit fab6282

Please sign in to comment.