From da955b6ed42bcc34a314f9edb415121cefb6f54b Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 21 Mar 2019 18:45:45 +0000 Subject: [PATCH] Attempt to fix the Windows build. It appears that there's a link.exe from GNU coreutils on the path before the one from Visual Studio. --- azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 49d3a67..e4ed2c1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -50,10 +50,13 @@ jobs: - script: | + echo Deleting stupid link.exe from the path... + del c:\Program Files\Git\usr\bin\link.exe + echo Checking that we're calling the correct link.exe + where link.exe echo Creating build directory... mkdir build cd build - echo Importing visual studio environment variables... echo Running cmake... cmake .. -G Ninja -DTESTS=ON -DCMAKE_C_COMPILER="c:/Program Files/LLVM/bin/clang-cl.exe" -DCMAKE_CXX_COMPILER="c:/Program Files/LLVM/bin/clang-cl.exe" echo CMake completed. @@ -64,7 +67,6 @@ jobs: - script: | cd build dir - echo Importing visual studio environment variables... set CCC_OVERRIDE_OPTIONS=x-TC x-TP x/TC x/TP echo Running ninja... ninja