aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2019-03-17 15:20:56 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2019-03-17 20:46:22 +0200
commiteb76ba7031f053a3c1e69ce79f52bf84a222fa48 (patch)
treef5c1de3f7548a7828e7a8bbbabcd5d8520c5d1d6 /azure-pipelines.yml
parent7c461582a22cdc5792f2196c067eba18c5c9cd35 (diff)
downloadmeson-eb76ba7031f053a3c1e69ce79f52bf84a222fa48.zip
meson-eb76ba7031f053a3c1e69ce79f52bf84a222fa48.tar.gz
meson-eb76ba7031f053a3c1e69ce79f52bf84a222fa48.tar.bz2
azure: Unset BOOST_ROOT for Cygwin, MSYS2 and clang-cl
It looks like BOOST_ROOT is now set in the azure v2017 image (relevant change seems to be [1], pre-installing boost) Remove BOOST_ROOT from the environment to prevent attempting to use a boost which is incompatible with the compiler. (an MSVC boost should be compatible with clang-cl, but has problems, see c7a3e810) [1] https://github.com/Microsoft/azure-pipelines-image-generation/pull/732
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 5a7c6ac..483f1eb 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -86,6 +86,7 @@ jobs:
zlib-devel
displayName: Install Dependencies
- script: |
+ set BOOST_ROOT=
set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
cp /usr/bin/python3.5 /usr/bin/python3
env.exe -- python3 run_tests.py --backend=ninja
@@ -150,6 +151,7 @@ jobs:
%TOOLCHAIN%
displayName: Install Dependencies
- script: |
+ set BOOST_ROOT=
set PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
set PATHEXT=%PATHEXT%;.py
if %compiler%==clang ( set CC=clang && set CXX=clang++ )