diff options
author | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-08-16 19:18:42 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-08-16 19:18:42 +0200 |
commit | 2632edbb1dee1743047d15d916e127008ccfc373 (patch) | |
tree | a3171641a51b0ca2637f94e9b0a4abc8b0e40aa5 /travis | |
parent | 035b95161adc86dc5c1fa14eb0295a2059a2d4d6 (diff) |
Use ccache compression
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/travis-build-cpp.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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} - |