From 9e81791bc52eb7d226da75c2be653fae1458cab8 Mon Sep 17 00:00:00 2001 From: xoviat Date: Tue, 31 Oct 2017 16:29:01 -0500 Subject: [PATCH] [appveyor] fix environment --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7d5c2b033..f4b82e737 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -42,9 +42,9 @@ install: before_build: - echo Running cmake... - cd c:\projects\OpenBLAS - - ps: If ($env:COMPILER -eq "clang-cl") { $env:CLCACHE_CL = "clang-cl" } - - ps: If ($env:COMPILER -eq "clang-cl") { pip install git+https://github.com/frerich/clcache.git; $LastExitCode=0 } - - if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" . + - set CLCACHE_CL=%COMPILER% + - ps: pip install git+https://github.com/frerich/clcache.git; $LastExitCode=0 + - if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" -DCMAKE_CXX_COMPILER=clcache -DCMAKE_C_COMPILER=clcache . - if [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clcache -DCMAKE_C_COMPILER=clcache . - if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON .