[zorg] r309972 - [zorg] Add buildbot with reverse iteration enabled
Pengxuan Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 11:50:13 PDT 2017
Author: pzheng
Date: Thu Aug 3 11:50:13 2017
New Revision: 309972
URL: http://llvm.org/viewvc/llvm-project?rev=309972&view=rev
Log:
[zorg] Add buildbot with reverse iteration enabled
Summary:
This reverse iteration buildbot builds LLVM, Clang and Polly with
LLVM_REVERSE_ITERATION enabled, and subsequently runs "make check-all". With
LLVM_REVERSE_ITERATION enabled, all supported unordered llvm containers would be
iterated in reverse order.
Reviewers: mgrang, grosser, bollu, gkistanova, zinob, vleschuk
Reviewed By: mgrang, grosser
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D36203
Modified:
zorg/trunk/buildbot/osuosl/master/config/builders.py
zorg/trunk/buildbot/osuosl/master/config/status.py
zorg/trunk/buildbot/osuosl/master/master.cfg
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=309972&r1=309971&r2=309972&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/builders.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/builders.py Thu Aug 3 11:50:13 2017
@@ -839,6 +839,24 @@ def _get_aosp_builders():
patch=None)}
]
+# Reverse iteration builders.
+def _get_rev_iter_builders():
+ return [
+ {'name': "reverse-iteration",
+ 'slavenames': ["hexagon-build-03"],
+ 'builddir': "reverse-iteration",
+ 'factory': PollyBuilder.getPollyBuildFactory(
+ clean=True,
+ make='ninja',
+ jobs=16,
+ checkAll=True,
+ extraCmakeArgs=["-G", "Ninja",
+ "-DLLVM_REVERSE_ITERATION:BOOL=ON",
+ "-DLLVM_ENABLE_ASSERTIONS=True",
+ "-DCMAKE_C_COMPILER:FILEPATH=/local/clang+llvm-3.7.1-x86_64-linux-gnu-ubuntu-14.04/bin/clang",
+ "-DCMAKE_CXX_COMPILER:FILEPATH=/local/clang+llvm-3.7.1-x86_64-linux-gnu-ubuntu-14.04/bin/clang++"])}
+ ]
+
# LLDB builders.
def _get_lldb_builders():
return [
@@ -1537,6 +1555,10 @@ def get_builders():
b['category'] = 'aosp'
yield b
+ for b in _get_rev_iter_builders():
+ b['category'] = 'rev_iter'
+ yield b
+
for b in _get_lld_builders():
b['category'] = 'lld'
yield b
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=309972&r1=309971&r2=309972&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/status.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/status.py Thu Aug 3 11:50:13 2017
@@ -202,6 +202,15 @@ def get_status_targets(standard_builders
InformativeMailNotifier(
fromaddr = "llvm.buildmaster at lab.llvm.org",
sendToInterestedUsers= False,
+ extraRecipients = ["mgrang at codeaurora.org"],
+ subject="Build %(builder)s Failure",
+ mode = "failing",
+ builders = ["reverse-iteration"],
+ addLogs=False,
+ num_lines = 15),
+ InformativeMailNotifier(
+ fromaddr = "llvm.buildmaster at lab.llvm.org",
+ sendToInterestedUsers= False,
extraRecipients = ["tra+buildbot at google.com"],
subject="Build %(builder)s Failure",
mode = "failing",
Modified: zorg/trunk/buildbot/osuosl/master/master.cfg
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/master.cfg?rev=309972&r1=309971&r2=309972&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/master.cfg (original)
+++ zorg/trunk/buildbot/osuosl/master/master.cfg Thu Aug 3 11:50:13 2017
@@ -232,6 +232,12 @@ c['schedulers'].append(Nightly(name="aos
minute=0,
branch=None))
+c['schedulers'].append(Nightly(name="rev_iter_scheduler",
+ builderNames=get_all_for("rev_iter"),
+ hour=18,
+ minute=0,
+ branch=None))
+
c['schedulers'].extend(
config.schedulers.getSingleBranchSchedulers(c['builders'], c['schedulers'])
)
More information about the llvm-commits
mailing list