[appveyor] fix environment

This commit is contained in:
xoviat 2017-10-31 16:29:01 -05:00 committed by GitHub
parent e06443e5ac
commit 9e81791bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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 .