[appveyor] fix environment
This commit is contained in:
parent
e06443e5ac
commit
9e81791bc5
|
@ -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 .
|
||||
|
||||
|
|
Loading…
Reference in New Issue