[appveyor] enable clcache
This commit is contained in:
parent
ab87ee6b48
commit
f61b7b4b21
|
@ -23,6 +23,9 @@ skip_commits:
|
||||||
# Add [av skip] to commit messages
|
# Add [av skip] to commit messages
|
||||||
message: /\[av skip\]/
|
message: /\[av skip\]/
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- '%USERPROFILE%\clcache'
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- COMPILER: clang-cl
|
- COMPILER: clang-cl
|
||||||
|
@ -39,8 +42,11 @@ install:
|
||||||
before_build:
|
before_build:
|
||||||
- echo Running cmake...
|
- echo Running cmake...
|
||||||
- cd c:\projects\OpenBLAS
|
- cd c:\projects\OpenBLAS
|
||||||
|
- ps: If ($env:COMPILER -eq "clang-cl") { $env:PATH = "C:\Python36-x64;C:\Python36-x64\Scripts;$env:PATH;" }
|
||||||
|
- 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 }
|
||||||
- if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" .
|
- if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" .
|
||||||
- if [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl .
|
- if [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clcache -DCMAKE_C_COMPILER=clcache .
|
||||||
- if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON .
|
- if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON .
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
|
|
Loading…
Reference in New Issue