diff options
author | mattip <matti.picus@gmail.com> | 2020-11-02 11:24:02 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-11-02 15:42:13 +0200 |
commit | 313d1070c04455aa4426509b9341961f3c433556 (patch) | |
tree | 1e227f82d154493420e645d3fa85884570cfe80e /azure-pipelines.yml | |
parent | cefad82eaf08b9d905a710a751cc445df6b2a8e7 (diff) | |
download | numpy-313d1070c04455aa4426509b9341961f3c433556.tar.gz |
fix getting OpenBLAS
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 02b305ada..12d99156d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -242,12 +242,15 @@ stages: python -c "import sys; print(sys.version)" python -m pip install --upgrade "setuptools<49.2.0" python -m pip install urllib3 - basedir = $(python numpy/tools/openblas_support.py) - cp -r $basedir/lib/* /usr/local/lib - cp $basedir/include/* /usr/local/include + python -m pip install -r test_requirements.txt + basedir=$(python ./tools/openblas_support.py) + sudo cp -r $basedir/lib/* /usr/local/lib + sudo cp $basedir/include/* /usr/local/include + sudo ldconfig /usr/local/lib displayName: 'Get OpenBLAS' - script: | python setup.py build_src --verbose-cfg bdist_wheel + # do the rest in a subdirectory so 'import numpy' works pushd dist python -mpip install ./numpy* python ../tools/openblas_support.py --check_version |