[circleci] use clang-3.7
This commit is contained in:
parent
b70fed842e
commit
75b57ab960
2 changed files with 6 additions and 5 deletions
|
@ -7,6 +7,7 @@ machine:
|
||||||
JOBS: 8
|
JOBS: 8
|
||||||
CCACHE_TEMPDIR: /tmp/.ccache-temp
|
CCACHE_TEMPDIR: /tmp/.ccache-temp
|
||||||
CCACHE_COMPRESS: 1
|
CCACHE_COMPRESS: 1
|
||||||
|
LLVM_VERSION: 3.7
|
||||||
pre:
|
pre:
|
||||||
- echo "here"
|
- echo "here"
|
||||||
post:
|
post:
|
||||||
|
@ -17,14 +18,14 @@ dependencies:
|
||||||
- "~/.ccache"
|
- "~/.ccache"
|
||||||
pre:
|
pre:
|
||||||
- sudo wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
|
- sudo wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||||
- sudo add-apt-repository -y "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.8 main"
|
- sudo add-apt-repository -y "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-${LLVM_VERSION} main"
|
||||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||||
- sudo apt-get update -y
|
- sudo apt-get update -y
|
||||||
override:
|
override:
|
||||||
- sudo apt-get install clang-3.8 -y
|
- sudo apt-get install clang-${LLVM_VERSION} -y
|
||||||
post:
|
post:
|
||||||
- which clang-3.8
|
- which clang-${LLVM_VERSION}
|
||||||
- which clang++-3.8
|
- which clang++-${LLVM_VERSION}
|
||||||
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
|
@ -7,6 +7,6 @@ source bootstrap.sh
|
||||||
ccache --version
|
ccache --version
|
||||||
ccache -p || true
|
ccache -p || true
|
||||||
ccache --show-stats || true
|
ccache --show-stats || true
|
||||||
./configure CC="clang-3.8" CXX="ccache clang++-3.8 -Qunused-arguments"
|
./configure CC="clang-${LLVM_VERSION}" CXX="ccache clang++-${LLVM_VERSION} -Qunused-arguments"
|
||||||
make
|
make
|
||||||
make test
|
make test
|
Loading…
Reference in a new issue