From b70fed842eb8e9df7efd9289c741bece219915a7 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 14 Mar 2016 10:15:39 -0700 Subject: [PATCH] [circleci] use clang-3.8 --- circle.yml | 11 ++++++++--- scripts/circleci.sh | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index 9466cd976..705b334b3 100644 --- a/circle.yml +++ b/circle.yml @@ -15,11 +15,16 @@ machine: dependencies: cache_directories: - "~/.ccache" - post: + pre: - sudo wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - - - sudo add-apt-repository "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main" + - sudo add-apt-repository -y "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.8 main" + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -y - - sudo apt-get install clang-3.5 -y + override: + - sudo apt-get install clang-3.8 -y + post: + - which clang-3.8 + - which clang++-3.8 test: diff --git a/scripts/circleci.sh b/scripts/circleci.sh index c8c56a3fc..25d8f438a 100755 --- a/scripts/circleci.sh +++ b/scripts/circleci.sh @@ -7,6 +7,6 @@ source bootstrap.sh ccache --version ccache -p || true ccache --show-stats || true -./configure CC="clang-3.5" CXX="ccache clang++-3.5 -Qunused-arguments" +./configure CC="clang-3.8" CXX="ccache clang++-3.8 -Qunused-arguments" make make test \ No newline at end of file