[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
|
||||
CCACHE_TEMPDIR: /tmp/.ccache-temp
|
||||
CCACHE_COMPRESS: 1
|
||||
LLVM_VERSION: 3.7
|
||||
pre:
|
||||
- echo "here"
|
||||
post:
|
||||
|
@ -17,14 +18,14 @@ dependencies:
|
|||
- "~/.ccache"
|
||||
pre:
|
||||
- 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 apt-get update -y
|
||||
override:
|
||||
- sudo apt-get install clang-3.8 -y
|
||||
- sudo apt-get install clang-${LLVM_VERSION} -y
|
||||
post:
|
||||
- which clang-3.8
|
||||
- which clang++-3.8
|
||||
- which clang-${LLVM_VERSION}
|
||||
- which clang++-${LLVM_VERSION}
|
||||
|
||||
|
||||
test:
|
||||
|
|
|
@ -7,6 +7,6 @@ source bootstrap.sh
|
|||
ccache --version
|
||||
ccache -p || 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 test
|
Loading…
Reference in a new issue