diff --git a/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh b/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh --- a/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh +++ b/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh @@ -12,6 +12,7 @@ ARCH=`uname -m` export PATH="/usr/local/bin:$PATH" export ANDROID_SDK_HOME=$ROOT/../../.. +CMAKE_ARGS='' CMAKE_ARGS="" for arg in "$@" @@ -26,7 +27,7 @@ rm -rf compiler_rt_build llvm_build* symbolizer_build* USE_CCACHE= -if ccache -s ; then +if command -v ccache && ccache -s ; then USE_CCACHE="-DLLVM_CCACHE_BUILD=ON" rm -rf clang_build fi