summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2019-12-20 13:33:46 +0200
committerPauli Virtanen <pav@iki.fi>2019-12-21 23:14:15 +0200
commit49974bad2d11e3be31cb83f881ae09dd91b8dd25 (patch)
tree1ec1d034d3ae7b8001b77afabb94a578c135657a /azure-pipelines.yml
parent2dbe8de7090b4a39a1f19b2c81c2d3b085b7b244 (diff)
downloadnumpy-49974bad2d11e3be31cb83f881ae09dd91b8dd25.tar.gz
MAINT: make openblas_support.py strip path prefix from archive contents
Adapt CI scripts to this.
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index d6ab4d80c..1851df71a 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -40,8 +40,9 @@ stages:
locale-gen fr_FR && update-locale && \
apt-get -y install gfortran-5 wget && \
target=\$(python3 tools/openblas_support.py) && \
- cp -r \$target/usr/local/lib/* /usr/lib && \
- cp \$target/usr/local/include/* /usr/include && \
+ ls -lR \$target && \
+ cp -r \$target/lib/* /usr/lib && \
+ cp \$target/include/* /usr/include && \
python3 -m pip install --user --upgrade pip setuptools && \
python3 -m pip install --user -r test_requirements.txt && \
python3 -m pip install . && \
@@ -105,9 +106,10 @@ stages:
# primarily on file size / name details
- script: |
target=$(python tools/openblas_support.py)
+ ls -lR $target
# manually link to appropriate system paths
- cp $target/usr/local/lib/* /usr/local/lib/
- cp $target/usr/local/include/* /usr/local/include/
+ cp $target/lib/* /usr/local/lib/
+ cp $target/include/* /usr/local/include/
displayName: 'install pre-built openblas'
- script: python -m pip install --upgrade pip setuptools wheel
displayName: 'Install tools'