[zorg] r346442 - Handle builders which could be assigned to automatic schedulers.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 8 14:08:48 PST 2018
Author: gkistanova
Date: Thu Nov 8 14:08:48 2018
New Revision: 346442
URL: http://llvm.org/viewvc/llvm-project?rev=346442&view=rev
Log:
Handle builders which could be assigned to automatic schedulers.
Modified:
zorg/trunk/buildbot/osuosl/master/master.cfg
Modified: zorg/trunk/buildbot/osuosl/master/master.cfg
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/master.cfg?rev=346442&r1=346441&r2=346442&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/master.cfg (original)
+++ zorg/trunk/buildbot/osuosl/master/master.cfg Thu Nov 8 14:08:48 2018
@@ -128,11 +128,15 @@ def get_standard_for(category):
def get_all_for(category):
"""
Returns a list of builder names for the given category, including
- expiremental builders.
+ expiremental builders but excluding builder which could be assigned to
+ automatic schedulers.
"""
return [
b['name'] for b in builders
- if b['category'] == category or b['category'] == category + '.exp']
+ if (not getattr(b['factory'], 'depends_on_projects', None)) or
+ (b['category'] == category) or
+ (b['category'] == category + '.exp')
+ ]
c['schedulers'] = [SingleBranchScheduler(name="llvm_scheduler",
treeStableTimer=2*60,
More information about the llvm-commits
mailing list