Skip to content

Commit 55aa37f

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

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

buildspec-windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ phases:
66
- choco install cyg-get -y --no-progress
77
- cyg-get bash patch bison flex make wget perl
88
- nuget install clcache -OutputDirectory "c:\tools\cygwin\bin" -ExcludeVersion
9-
- cmd /c 'dir c:\tools\cygwin\bin\clcache\clcache-4.1.0'
10-
- Move-Item -Path "c:\tools\cygwin\bin\clcache\clcache-4.1.0\clcache.exe" -Destination "c:\tools\cygwin\bin"
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'
1111

1212
build:
1313
commands:
@@ -17,13 +17,13 @@ phases:
1717
1818
- |
1919
$env:Path = "C:\tools\cygwin\bin;$env:Path"
20-
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" '
21-
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" '
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 src BUILD_ENV=MSVC" '
21+
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" '
2222
2323
- |
2424
$env:Path = "C:\tools\cygwin\bin;$env:Path"
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 -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 -j4 -C jbmc/unit all BUILD_ENV=MSVC" '
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" '
2727
2828
post_build:
2929
commands:

0 commit comments

Comments
 (0)