summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-04-03 14:30:42 +0300
committermattip <matti.picus@gmail.com>2020-04-04 19:29:10 +0300
commit68ac1a41e1f2acd0d3f81c7d68db7e0626bf5dcb (patch)
treeccdc28a984758eb9432cf28f11cc4e5af9e9c3d1
parent588d08748e89dbb1be06e1be65eaf7cd36aeea30 (diff)
downloadnumpy-68ac1a41e1f2acd0d3f81c7d68db7e0626bf5dcb.tar.gz
BLD: use xcode10 for one CI run
-rw-r--r--azure-pipelines.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index e6ab33b52..d24a07c98 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -76,6 +76,7 @@ stages:
PYTHON_VERSION: '3.6'
NPY_USE_BLAS_ILP64: '1'
USE_OPENBLAS: '1'
+ USE_XCODE_10: '1'
Accelerate:
PYTHON_VERSION: '3.6'
USE_OPENBLAS: '0'
@@ -89,9 +90,10 @@ stages:
versionSpec: $(PYTHON_VERSION)
addToPath: true
architecture: 'x64'
- # NOTE: do we have a compelling reason to use older / newer
- # versions of Xcode toolchain for testing?
- - script: clang --version
+ - script: |
+ set -xe
+ [ -n "$USE_XCODE_10" ] && /bin/bash -c "sudo xcode-select -s /Applications/Xcode_10.app/Contents/Developer"
+ clang --version
displayName: 'report clang version'
# NOTE: might be better if we could avoid installing
# two C compilers, but with homebrew looks like we're