We need at least CLang 3.7 (travis is failing with 3.5)
This commit is contained in:
parent
907611a422
commit
cebbdcd2c6
@ -13,13 +13,21 @@ matrix:
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
# Both needed for clang 3.7
|
||||
- llvm-toolchain-precise-3.7
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- clang-3.7
|
||||
- libcrypto++-dev
|
||||
- libfuse-dev
|
||||
install:
|
||||
# Use new clang
|
||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ] && [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
|
||||
# Detect number of CPU cores
|
||||
- export NUMCORES=`grep -c ^processor /proc/cpuinfo` && if [ ! -n "$NUMCORES" ]; then export NUMCORES=`sysctl -n hw.ncpu`; fi
|
||||
- echo Using $NUMCORES cores
|
||||
# Install dependencies
|
||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then ./travis.install_boost.sh; fi
|
||||
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew upgrade boost && brew install cryptopp osxfuse; fi
|
||||
# Install run_with_fuse.sh
|
||||
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
|
||||
include(utils.cmake)
|
||||
|
||||
require_gcc_version(4.8)
|
||||
require_clang_version(3.5) # clang 3.5 needed for spdlog dependency
|
||||
require_clang_version(3.7)
|
||||
|
||||
# Default value is not to build test cases
|
||||
if(NOT BUILD_TESTING)
|
||||
|
Loading…
Reference in New Issue
Block a user