[appveyor] save and cache

This commit is contained in:
xoviat 2017-10-31 17:02:40 -05:00 committed by GitHub
parent a306cb9f4d
commit 4446dee89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,8 @@ cache:
- '%USERPROFILE%\clcache'
environment:
global:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
matrix:
- COMPILER: clang-cl
DYNAMIC_ARCH: ON
@ -44,6 +46,8 @@ before_build:
- echo Running cmake...
- cd c:\projects\OpenBLAS
- set CLCACHE_CL=%COMPILER%
- clcache -M 644245094
- clcache -c
- 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 .