From eb76ba7031f053a3c1e69ce79f52bf84a222fa48 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sun, 17 Mar 2019 15:20:56 +0000 Subject: 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 --- ci/azure-steps.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ci') diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml index 6fe1831..7e0f6fe 100644 --- a/ci/azure-steps.yml +++ b/ci/azure-steps.yml @@ -71,6 +71,8 @@ steps: Start-Process "boost_$boost_filename-msvc-$boost_abi_tag-$boost_bitness.exe" -ArgumentList "/dir=$(System.WorkFolder)\boost_$boost_filename /silent" -Wait $env:BOOST_ROOT = "$(System.WorkFolder)\boost_$boost_filename" $env:Path = "$env:Path;$env:BOOST_ROOT\lib$boost_bitness-msvc-$boost_abi_tag" + } else { + $env:BOOST_ROOT = "" } # install D compiler and dub packages -- cgit v1.1