[PATCH] D36203: [zorg] Add buildbot with reverse iteration enabled

Pengxuan Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 11:44:29 PDT 2017


pzheng updated this revision to Diff 109608.

https://reviews.llvm.org/D36203

Files:
  buildbot/osuosl/master/config/builders.py
  buildbot/osuosl/master/config/status.py
  buildbot/osuosl/master/master.cfg


Index: buildbot/osuosl/master/master.cfg
===================================================================
--- buildbot/osuosl/master/master.cfg
+++ buildbot/osuosl/master/master.cfg
@@ -232,6 +232,12 @@
                                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'])
     )
Index: buildbot/osuosl/master/config/status.py
===================================================================
--- buildbot/osuosl/master/config/status.py
+++ buildbot/osuosl/master/config/status.py
@@ -202,6 +202,15 @@
         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",
Index: buildbot/osuosl/master/config/builders.py
===================================================================
--- buildbot/osuosl/master/config/builders.py
+++ buildbot/osuosl/master/config/builders.py
@@ -839,6 +839,24 @@
                 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 @@
         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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36203.109608.patch
Type: text/x-patch
Size: 2958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170803/40e14c3a/attachment.bin>


More information about the llvm-commits mailing list