File tree 2 files changed +39
-8
lines changed
2 files changed +39
-8
lines changed Original file line number Diff line number Diff line change
1
+ version : 0.2
2
+
3
+ env :
4
+ variables :
5
+ # CodeBuild console doesn't display color codes correctly
6
+ TESTPL_COLOR_OUTPUT : 0
7
+
8
+ phases :
9
+ install :
10
+ commands :
11
+ - choco install cyg-get -y --no-progress
12
+ - cyg-get bash patch bison flex make wget perl jq
13
+ - nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
14
+
15
+ build :
16
+ commands :
17
+ - |
18
+ $env:Path = "C:\tools\cygwin\bin;$env:Path"
19
+ bash -c "make -C src minisat2-download DOWNLOADER=wget"
20
+
21
+ - |
22
+ $env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
23
+ $env:CLCACHE_DIR = "C:\clcache"
24
+ $env:CLCACHE_BASEDIR = (Get-Item -Path ".\").FullName
25
+ cmd /c 'bash -c "cd scripts ; ./generate_vcxproj"'
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 src BUILD_ENV=MSVC generated_files"'
27
+ $env:Path = "C:\Program Files (x86)\MSBuild\14.0\Bin;$env:Path"
28
+ msbuild /p:CLToolExe=clcache.exe /m:4 cbmc.vcxproj
29
+
30
+ - |
31
+ # display cache stats
32
+ $env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
33
+ $env:CLCACHE_DIR = "C:\clcache"
34
+ $env:CLCACHE_BASEDIR = (Get-Item -Path ".\").FullName
35
+ cmd /c 'clcache -s'
36
+
37
+ cache :
38
+ paths :
39
+ - ' c:\clcache\**\*'
Original file line number Diff line number Diff line change @@ -32,14 +32,6 @@ phases:
32
32
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" '
33
33
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" '
34
34
35
- - |
36
- $env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
37
- $env:CLCACHE_DIR = "C:\clcache"
38
- $env:CLCACHE_BASEDIR = (Get-Item -Path ".\").FullName
39
- cmd /c 'bash -c "cd scripts ; ./generate_vcxproj"'
40
- $env:Path = "C:\Program Files (x86)\MSBuild\14.0\Bin;$env:Path"
41
- msbuild /p:CLToolExe=clcache.exe /m:4 cbmc.vcxproj
42
-
43
35
- |
44
36
# display cache stats
45
37
$env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
You can’t perform that action at this time.
0 commit comments