[zorg] r360847 - [zorg] Add empty GN buildbot
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 20:57:30 PDT 2019
Author: vitalybuka
Date: Wed May 15 20:57:30 2019
New Revision: 360847
URL: http://llvm.org/viewvc/llvm-project?rev=360847&view=rev
Log:
[zorg] Add empty GN buildbot
Reviewers: eugenis, morehouse, hctim
Differential Revision: https://reviews.llvm.org/D61965
Added:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh (with props)
Modified:
zorg/trunk/buildbot/osuosl/master/config/builders.py
zorg/trunk/buildbot/osuosl/master/config/status.py
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_selector.py
Modified: zorg/trunk/buildbot/osuosl/master/config/builders.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/config/builders.py?rev=360847&r1=360846&r2=360847&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/builders.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/builders.py Wed May 15 20:57:30 2019
@@ -1081,6 +1081,10 @@ def _get_sanitizer_builders():
'slavenames' :["sanitizer-buildbot1", "sanitizer-buildbot2"],
'builddir': "sanitizer-x86_64-linux-fast",
'factory': SanitizerBuilder.getSanitizerBuildFactory()},
+ {'name': "sanitizer-x86_64-linux-gn",
+ 'slavenames' :["sanitizer-buildbot1", "sanitizer-buildbot2"],
+ 'builddir': "sanitizer-x86_64-linux-gn",
+ 'factory': SanitizerBuilder.getSanitizerBuildFactory()},
{'name': "sanitizer-x86_64-linux-bootstrap",
'slavenames' :["sanitizer-buildbot3", "sanitizer-buildbot4"],
Modified: zorg/trunk/buildbot/osuosl/master/config/status.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/config/status.py?rev=360847&r1=360846&r2=360847&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/status.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/status.py Wed May 15 20:57:30 2019
@@ -273,4 +273,12 @@ def get_status_targets(standard_builders
mode = "failing",
builders = ["lldb-x86_64-debian"],
addLogs=False),
+ InformativeMailNotifier(
+ fromaddr = "llvm.buildmaster at lab.llvm.org",
+ sendToInterestedUsers= False,
+ extraRecipients = ["vitalybuka at google.com", "eugenis at google.com"],
+ subject="Build %(builder)s Failure",
+ mode = "failing",
+ builders = ["sanitizer-x86_64-linux-gn"],
+ addLogs=False),
]
Added: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh?rev=360847&view=auto
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh (added)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh Wed May 15 20:57:30 2019
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+
+set -exu
+
+HERE="$(cd $(dirname $0) && pwd)"
+. ${HERE}/buildbot_functions.sh
+
+ROOT=`pwd`
+PLATFORM=`uname`
+export PATH="/usr/local/bin:$PATH"
+
+CHECK_LIBCXX=${CHECK_LIBCXX:-0}
+CHECK_LLD=${CHECK_LLD:-0}
+LLVM=$ROOT/llvm
+
+if [ "$BUILDBOT_CLOBBER" != "" ]; then
+ echo @@@BUILD_STEP clobber@@@
+ rm -rf llvm
+fi
+
+echo @@@BUILD_STEP update@@@
+buildbot_update
+
Propchange: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh
------------------------------------------------------------------------------
svn:executable = *
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=360847&r1=360846&r2=360847&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_selector.py (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_selector.py Wed May 15 20:57:30 2019
@@ -24,6 +24,7 @@ BOT_ASSIGNMENT = {
'sanitizer-x86_64-linux-android': bash('buildbot_android.sh'),
'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'),
}
BOT_ADDITIONAL_ENV = {
@@ -37,6 +38,7 @@ BOT_ADDITIONAL_ENV = {
'sanitizer-x86_64-linux-android': {},
'sanitizer-x86_64-linux-bootstrap-msan': {},
'sanitizer-x86_64-linux-bootstrap-ubsan': {},
+ 'sanitizer-x86_64-linux-gn': {},
}
def Main():
More information about the llvm-commits
mailing list