[zorg] r370164 - [sanitizer] Use git for x86_64-linux-*san bots
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 28 01:04:40 PDT 2019
Author: vitalybuka
Date: Wed Aug 28 01:04:40 2019
New Revision: 370164
URL: http://llvm.org/viewvc/llvm-project?rev=370164&view=rev
Log:
[sanitizer] Use git for x86_64-linux-*san bots
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_asan.sh
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_msan.sh
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_ubsan.sh
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_functions.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_asan.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_asan.sh?rev=370164&r1=370163&r2=370164&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_asan.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_asan.sh Wed Aug 28 01:04:40 2019
@@ -11,7 +11,7 @@ ROOT=`pwd`
PLATFORM=`uname`
export PATH="/usr/local/bin:$PATH"
-USE_GIT=0
+USE_GIT=1
CHECK_LIBCXX=${CHECK_LIBCXX:-1}
CHECK_LLD=${CHECK_LLD:-1}
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_msan.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_msan.sh?rev=370164&r1=370163&r2=370164&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_msan.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_msan.sh Wed Aug 28 01:04:40 2019
@@ -11,7 +11,7 @@ ROOT=`pwd`
PLATFORM=`uname`
export PATH="/usr/local/bin:$PATH"
-USE_GIT=0
+USE_GIT=1
CHECK_LIBCXX=${CHECK_LIBCXX:-1}
CHECK_LLD=${CHECK_LLD:-1}
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_ubsan.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_ubsan.sh?rev=370164&r1=370163&r2=370164&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_ubsan.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_ubsan.sh Wed Aug 28 01:04:40 2019
@@ -11,7 +11,7 @@ ROOT=`pwd`
PLATFORM=`uname`
export PATH="/usr/local/bin:$PATH"
-USE_GIT=0
+USE_GIT=1
CHECK_LIBCXX=${CHECK_LIBCXX:-1}
CHECK_LLD=${CHECK_LLD:-1}
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_functions.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_functions.sh?rev=370164&r1=370163&r2=370164&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_functions.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_functions.sh Wed Aug 28 01:04:40 2019
@@ -382,6 +382,9 @@ function build_stage3 {
local clang_path=$ROOT/${STAGE2_DIR}/bin
local cmake_stage3_options="${CMAKE_COMMON_OPTIONS} -DCMAKE_C_COMPILER=${clang_path}/clang -DCMAKE_CXX_COMPILER=${clang_path}/clang++"
+ if [[ "$USE_GIT" != "0" ]]; then
+ cmake_stage3_options="${cmake_stage3_options} -DLLVM_ENABLE_PROJECTS='clang'"
+ fi
echo @@@BUILD_STEP build stage3/$sanitizer_name clang@@@
(mkdir -p ${build_dir} && cd ${build_dir} && cmake ${cmake_stage3_options} $LLVM && ninja clang) || \
More information about the llvm-commits
mailing list