From 2632edbb1dee1743047d15d916e127008ccfc373 Mon Sep 17 00:00:00 2001 From: Bjørn Christian Seime Date: Wed, 16 Aug 2017 19:18:42 +0200 Subject: Use ccache compression --- travis/travis-build-cpp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'travis') diff --git a/travis/travis-build-cpp.sh b/travis/travis-build-cpp.sh index 50560e7e8d5..de703ccbc54 100755 --- a/travis/travis-build-cpp.sh +++ b/travis/travis-build-cpp.sh @@ -7,7 +7,8 @@ BUILD_DIR=~/build mkdir "${BUILD_DIR}" -ccache -M 5G +export CCACHE_SIZE="5G" +export CCACHE_COMPRESS="1" NUM_THREADS=4 source /opt/rh/devtoolset-6/enable || true cd "${SOURCE_DIR}" @@ -24,4 +25,3 @@ cmake3 \ "${SOURCE_DIR}" make -j ${NUM_THREADS} ctest3 --output-on-failure -j ${NUM_THREADS} - -- cgit v1.2.3