summaryrefslogtreecommitdiff
path: root/tools/travis-test.sh
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2023-05-13 11:02:49 -0600
committerGitHub <noreply@github.com>2023-05-13 11:02:49 -0600
commit5187067d7ad176ee3614beab2b99a524dd719aa8 (patch)
tree907997d0c294f550193322aaa73237c1a7bcfaa6 /tools/travis-test.sh
parentb786189222ac5bf2f4efbb04399261f7f760bc18 (diff)
parent81caed6e3c34c4bf4b22b4f6167e816ba2a3f73c (diff)
downloadnumpy-5187067d7ad176ee3614beab2b99a524dd719aa8.tar.gz
Merge branch 'main' into deprecate-find-common-type
Diffstat (limited to 'tools/travis-test.sh')
-rwxr-xr-xtools/travis-test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/travis-test.sh b/tools/travis-test.sh
index 96bc33926..67e507eb3 100755
--- a/tools/travis-test.sh
+++ b/tools/travis-test.sh
@@ -33,7 +33,7 @@ werrors="$werrors -Werror=implicit-function-declaration"
setup_base()
{
# use default python flags but remove sign-compare
- sysflags="$($PYTHON -c "from distutils import sysconfig; \
+ sysflags="$($PYTHON -c "import sysconfig; \
print (sysconfig.get_config_var('CFLAGS'))")"
export CFLAGS="$sysflags $werrors -Wlogical-op -Wno-sign-compare"
@@ -143,6 +143,7 @@ EOF
fi
if [ -n "$CHECK_BLAS" ]; then
+ $PYTHON -m pip install threadpoolctl
$PYTHON ../tools/openblas_support.py --check_version
fi
@@ -180,7 +181,7 @@ EOF
pushd ../benchmarks
$PYTHON `which asv` check --python=same
$PYTHON `which asv` machine --machine travis
- $PYTHON `which asv` dev 2>&1| tee asv-output.log
+ $PYTHON `which asv` dev -q 2>&1| tee asv-output.log
if grep -q Traceback asv-output.log; then
echo "Some benchmarks have errors!"
exit 1