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.
main
David Chisnall 7 years ago
parent d92618169d
commit da955b6ed4

@ -50,10 +50,13 @@ jobs:
- script: | - 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... echo Creating build directory...
mkdir build mkdir build
cd build cd build
echo Importing visual studio environment variables...
echo Running cmake... 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" 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. echo CMake completed.
@ -64,7 +67,6 @@ jobs:
- script: | - script: |
cd build cd build
dir dir
echo Importing visual studio environment variables...
set CCC_OVERRIDE_OPTIONS=x-TC x-TP x/TC x/TP set CCC_OVERRIDE_OPTIONS=x-TC x-TP x/TC x/TP
echo Running ninja... echo Running ninja...
ninja ninja

Loading…
Cancel
Save