File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ version: 0.2
3
3
phases :
4
4
install :
5
5
commands :
6
+ - |
7
+ # Codebuild sets up a directory whose name changes with every build.
8
+ # We create a symlink with a fixed name to enable clcache to get cache hits.
9
+ Set-Location -Path "c:\codebuild\tmp"
10
+ New-Item -ItemType Junction -Name builddir -Value $env:CODEBUILD_SRC_DIR
11
+ Set-Location -Path "c:\codebuild\tmp\builddir"
12
+
6
13
- choco install cyg-get -y --no-progress
7
14
- cyg-get bash patch bison flex make wget perl
8
15
- nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
@@ -11,7 +18,7 @@ phases:
11
18
commands :
12
19
- |
13
20
$env:Path = "C:\tools\cygwin\bin;$env:Path"
14
- C:\tools\cygwin\bin\ bash -c "make -C src minisat2-download DOWNLOADER=wget"
21
+ bash -c "make -C src minisat2-download DOWNLOADER=wget"
15
22
16
23
- |
17
24
$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