Skip to content

Commit 9e9587a

Browse files
committed
debug
1 parent ed072ac commit 9e9587a

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ install:
8585
8686
script:
8787
# Build library and collect into libs subdirectory
88-
- travis_wait 20 build_on_travis
88+
- build_on_travis
8989
- libc=${MB_ML_LIBC:-manylinux}
9090
- docker_image=quay.io/pypa/${libc}${MB_ML_VER}_${PLAT}
9191
- docker run --rm -e INTERFACE64="${INTERFACE64}" -e MB_ML_LIBC="${MB_ML_LIBC}" -v $(pwd):/openblas "${docker_image}" /bin/bash -xe /openblas/tools/build_wheel.sh

tools/build_steps.sh

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ function do_build_lib {
139139
Linux-aarch64)
140140
local bitness=64
141141
local target_flags="TARGET=ARMV8"
142+
local dynamic_list="ARMV8 NEOVERSEN1 ARMV8SVE THUNDERX THUNDERX3T110"
142143
;;
143144
Darwin-arm64)
144145
local bitness=64
@@ -167,27 +168,30 @@ function do_build_lib {
167168
;;
168169
esac
169170
interface_flags="$interface_flags SYMBOLPREFIX=scipy_ LIBNAMEPREFIX=scipy_ FIXED_LIBNAME=1"
170-
echo "Building with settings: plat:'$plat' suffix:'$suffix' interface64:'$interface64'"
171-
echo " interface_flags:'$interface_flags'"
172-
echo " target_flags:'$target_flags'"
173171
mkdir -p libs
174-
start_spinner
175172
set -x
176173
git config --global --add safe.directory '*'
177174
pushd OpenBLAS
178175
patch_source
179176
echo start building
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_flags shared 2>&1 1>/dev/null
177+
if [[ -v dynamic_list ]]; then
178+
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
179+
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
180+
USE_OPENMP=0 NUM_THREADS=64 \
181+
DYNAMIC_LIST="$dynamic_list" \
182+
BINARY=$bitness $interface_flags $target_flags shared 2>&1 1>/dev/null
183+
else
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_flags shared 2>&1 1>/dev/null
188+
fi
184189
echo done building, now testing
185190
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
186191
USE_OPENMP=0 NUM_THREADS=64 \
187192
BINARY=$bitness $interface_flags $target_flags tests
188193
make PREFIX=$BUILD_PREFIX $interface_flags install
189194
popd
190-
stop_spinner
191195
if [ "$nightly" = "1" ]; then
192196
local version="HEAD"
193197
else

0 commit comments

Comments
 (0)