Skip to content

Commit c9f3b47

Browse files
author
Daniel Kroening
committed
add clcache to Windows build
1 parent 55aa37f commit c9f3b47

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

buildspec-windows.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ phases:
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" -ExcludeVersion
9-
- Move-Item -Path "c:\tools\cygwin\bin\clcache\clcache-4.1.0\clcache.exe" -Destination "c:\tools\cygwin\bin\clcache.exe"
10-
- cmd /c 'dir c:\tools\cygwin\bin\clcache.exe'
8+
- nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion
119

1210
build:
1311
commands:
@@ -16,12 +14,12 @@ phases:
1614
C:\tools\cygwin\bin\bash -c "make -C src minisat2-download DOWNLOADER=wget"
1715
1816
- |
19-
$env:Path = "C:\tools\cygwin\bin;$env:Path"
17+
$env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
2018
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" '
2119
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" '
2220
2321
- |
24-
$env:Path = "C:\tools\cygwin\bin;$env:Path"
22+
$env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
2523
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" '
2624
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" '
2725

0 commit comments

Comments
 (0)