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