[zorg] r295627 - [sanitizers] Enable ccache on linux bot.
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 19 16:40:50 PST 2017
Author: vitalybuka
Date: Sun Feb 19 18:40:50 2017
New Revision: 295627
URL: http://llvm.org/viewvc/llvm-project?rev=295627&view=rev
Log:
[sanitizers] Enable ccache on linux bot.
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_standard.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_standard.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_standard.sh?rev=295627&r1=295626&r2=295627&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_standard.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_standard.sh Sun Feb 19 18:40:50 2017
@@ -31,6 +31,12 @@ CHECK_LLD=${CHECK_LLD:-1}
LLVM_CHECKOUT=${ROOT}/llvm
CMAKE_COMMON_OPTIONS="-DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON"
+export CCACHE_DIR=$ROOT/ccache
+export CCACHE_COMPILERCHECK=content
+if ccache -sM 20 ; then
+ CMAKE_COMMON_OPTIONS="$CMAKE_COMMON_OPTIONS -DLLVM_CCACHE_BUILD=ON"
+fi
+
function build_tsan {
local build_dir=$1
local extra_cmake_args=$2
More information about the llvm-commits
mailing list