diff options
author | mattip <matti.picus@gmail.com> | 2020-02-25 01:03:57 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-02-25 01:03:57 +0200 |
commit | f1863c5999f8b4bfa6e2c8af9d6a864a8c0f957b (patch) | |
tree | 6a49b7df1677fb347a378127ce6b96973dc4d5fc /tools/travis-before-install.sh | |
parent | a7adfda540f88d765f10ae8963abe4ae43cbfb34 (diff) | |
download | numpy-f1863c5999f8b4bfa6e2c8af9d6a864a8c0f957b.tar.gz |
BLD: update openblas download to new location, use manylinux2010-base
Diffstat (limited to 'tools/travis-before-install.sh')
-rwxr-xr-x | tools/travis-before-install.sh | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/tools/travis-before-install.sh b/tools/travis-before-install.sh index ab11e73f9..dbe2f6ea2 100755 --- a/tools/travis-before-install.sh +++ b/tools/travis-before-install.sh @@ -9,14 +9,6 @@ free -m df -h ulimit -a -if [ -n "$DOWNLOAD_OPENBLAS" ]; then - pwd - ls -ltrh - target=$(python tools/openblas_support.py) - sudo cp -r $target/lib/* /usr/lib - sudo cp $target/include/* /usr/include -fi - mkdir builds pushd builds @@ -49,6 +41,15 @@ pip install --upgrade pip # A specific version of cython is required, so we read the cython package # requirement using `grep cython test_requirements.txt` instead of simply # writing 'pip install setuptools wheel cython'. -pip install setuptools wheel `grep cython test_requirements.txt` +# urllib3 is needed for openblas_support +pip install setuptools wheel urllib3 `grep cython test_requirements.txt` + +if [ -n "$DOWNLOAD_OPENBLAS" ]; then + pwd + target=$(python tools/openblas_support.py) + sudo cp -r $target/lib/* /usr/lib + sudo cp $target/include/* /usr/include +fi + if [ -n "$USE_ASV" ]; then pip install asv; fi |