Skip to content

Commit 44aa443

Browse files
author
Daniel Kroening
committed
AWS codebuild: enable ccache
1 parent 8549ecb commit 44aa443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ phases:
77
- apt-get install -y software-properties-common
88
- add-apt-repository -y ppa:ubuntu-toolchain-r/test
99
- apt-get update -y
10-
- apt-get install -y g++-5 flex bison make git libwww-perl patch
10+
- apt-get install -y g++-5 flex bison make git libwww-perl patch ccache
1111
- apt-get install -y openjdk-7-jdk
1212
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
1313
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
1414
build:
1515
commands:
1616
- echo Build started on `date`
1717
- (cd src ; make minisat2-download)
18-
- (cd src ; make -j2)
18+
- (cd src ; make CXX="ccache g++" -j2)
1919
post_build:
2020
commands:
2121
- echo Build completed on `date`

0 commit comments

Comments
 (0)