55 commands :
66 - choco install cyg-get -y --no-progress
77 - cyg-get bash patch bison flex make wget perl
8- - nuget install clcache -OutputDirectory "c:\tools\cygwin\bin"
8+ - nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion
99
1010 build :
1111 commands :
@@ -14,14 +14,22 @@ phases:
1414 C:\tools\cygwin\bin\bash -c "make -C src minisat2-download DOWNLOADER=wget"
1515
1616 - |
17- $env:Path = "C:\tools\cygwin\bin;$env:Path"
18- cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make CXX=clcache -j4 -C src BUILD_ENV=MSVC" '
19- cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make CXX=clcache -j4 -C unit all BUILD_ENV=MSVC" '
17+ $env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
18+ $env:CLCACHE_DIR = "C:\clcache"
19+ cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make CXX=clcache.exe -j4 -C src BUILD_ENV=MSVC" '
20+ cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make CXX=clcache.exe -j4 -C unit all BUILD_ENV=MSVC" '
2021
2122 - |
22- $env:Path = "C:\tools\cygwin\bin;$env:Path"
23- cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/src setup-submodules" && bash -c "make CXX=clcache -j4 -C jbmc/src BUILD_ENV=MSVC" '
24- cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make CXX=clcache -j4 -C jbmc/unit all BUILD_ENV=MSVC" '
23+ $env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
24+ $env:CLCACHE_DIR = "C:\clcache"
25+ cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/src setup-submodules" && bash -c "make CXX=clcache.exe -j4 -C jbmc/src BUILD_ENV=MSVC" '
26+ cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make CXX=clcache.exe -j4 -C jbmc/unit all BUILD_ENV=MSVC" '
27+
28+ - |
29+ # display cache stats
30+ $env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
31+ $env:CLCACHE_DIR = "C:\clcache"
32+ cmd /c 'clcache -s'
2533
2634 post_build :
2735 commands :
@@ -73,3 +81,4 @@ artifacts:
7381
7482cache :
7583 paths :
84+ - ' c:\clcache'
0 commit comments