diff options
Diffstat (limited to 'travis/travis-build-cpp.sh')
-rwxr-xr-x | travis/travis-build-cpp.sh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/travis/travis-build-cpp.sh b/travis/travis-build-cpp.sh index bc2b564d13f..d5ac94fa6b9 100755 --- a/travis/travis-build-cpp.sh +++ b/travis/travis-build-cpp.sh @@ -2,17 +2,12 @@ # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. set -e -SOURCE_DIR=/source -BUILD_DIR=~/build +source /source/travis/prelude.sh +source ${SOURCE_DIR}/travis/cpp-prelude.sh +BUILD_DIR=~/build mkdir "${BUILD_DIR}" -export CCACHE_MAXSIZE="1250M" -export CCACHE_COMPRESS=1 -NUM_THREADS=4 -ccache --print-config -source /etc/profile.d/devtoolset-6.sh || true - cd ${BUILD_DIR} bash ${SOURCE_DIR}/bootstrap-cpp.sh ${SOURCE_DIR} ${BUILD_DIR} make -j ${NUM_THREADS} |