[zorg] r369176 - Add "sanitizer-aarch64-linux-mte" build script.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 16:57:32 PDT 2019
Author: eugenis
Date: Fri Aug 16 16:57:32 2019
New Revision: 369176
URL: http://llvm.org/viewvc/llvm-project?rev=369176&view=rev
Log:
Add "sanitizer-aarch64-linux-mte" build script.
Due to the lack of mte tests, run llvm/clang/asan tests for now.
Added:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_mte.sh
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_selector.py
Added: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_mte.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_mte.sh?rev=369176&view=auto
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_mte.sh (added)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_mte.sh Fri Aug 16 16:57:32 2019
@@ -0,0 +1,40 @@
+#!/usr/bin/env bash
+
+set -x
+set -e
+set -u
+
+HERE="$(cd $(dirname $0) && pwd)"
+. ${HERE}/buildbot_functions.sh
+
+ROOT=`pwd`
+PLATFORM=`uname`
+export PATH="/usr/local/bin:$PATH"
+
+CHECK_LIBCXX=${CHECK_LIBCXX:-1}
+CHECK_LLD=${CHECK_LLD:-1}
+STAGE1_DIR=llvm_build0
+LLVM=$ROOT/llvm
+CMAKE_COMMON_OPTIONS="-GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_PARALLEL_COMPILE_JOBS=100 -DLLVM_PARALLEL_LINK_JOBS=20"
+
+if [ "$BUILDBOT_CLOBBER" != "" ]; then
+ echo @@@BUILD_STEP clobber@@@
+ rm -rf llvm
+ rm -rf ${STAGE1_DIR}
+fi
+
+echo @@@BUILD_STEP update@@@
+buildbot_update
+
+echo @@@BUILD_STEP build@@@
+build_stage1_clang
+
+echo @@@BUILD_STEP check-llvm@@@
+(cd ${STAGE1_DIR} && ninja check-llvm) || echo @@@STEP_FAILURE@@@
+
+echo @@@BUILD_STEP check-clang@@@
+(cd ${STAGE1_DIR} && ninja check-clang) || echo @@@STEP_FAILURE@@@
+
+echo @@@BUILD_STEP check-asan@@@
+(cd ${STAGE1_DIR} && ninja check-asan) || echo @@@STEP_FAILURE@@@
+
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_selector.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_selector.py?rev=369176&r1=369175&r2=369176&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_selector.py (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_selector.py Fri Aug 16 16:57:32 2019
@@ -25,6 +25,7 @@ BOT_ASSIGNMENT = {
'sanitizer-x86_64-linux-bootstrap-msan': bash('buildbot_bootstrap_msan.sh'),
'sanitizer-x86_64-linux-bootstrap-ubsan': bash('buildbot_bootstrap_ubsan.sh'),
'sanitizer-x86_64-linux-gn': bash('buildbot_gn.sh'),
+ 'sanitizer-aarch64-linux-mte': bash('buildbot_mte.sh'),
}
BOT_ADDITIONAL_ENV = {
@@ -39,6 +40,7 @@ BOT_ADDITIONAL_ENV = {
'sanitizer-x86_64-linux-bootstrap-msan': {},
'sanitizer-x86_64-linux-bootstrap-ubsan': {},
'sanitizer-x86_64-linux-gn': {},
+ 'sanitizer-aarch64-linux-mte': {},
}
def Main():
More information about the llvm-commits
mailing list