[zorg] r374594 - Added legacy mode support for automatic SVN schedulers.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 13:39:42 PDT 2019
Author: gkistanova
Date: Fri Oct 11 13:39:42 2019
New Revision: 374594
URL: http://llvm.org/viewvc/llvm-project?rev=374594&view=rev
Log:
Added legacy mode support for automatic SVN schedulers.
Modified:
zorg/trunk/buildbot/osuosl/master/config/schedulers.py
Modified: zorg/trunk/buildbot/osuosl/master/config/schedulers.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/config/schedulers.py?rev=374594&r1=374593&r2=374594&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/schedulers.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/schedulers.py Fri Oct 11 13:39:42 2019
@@ -26,8 +26,10 @@ def getSingleBranchSchedulers(builders,
for builder in builders:
# Only for the builders created with LLVMBuildFactory or similar.
if getattr(builder['factory'], 'depends_on_projects', None):
- # And only if this builder does not yet have an assigned scheduler.
- if builder['name'] not in builders_with_schedulers:
+ # And only if this builder is in the legacy mode and
+ # does not yet have an assigned scheduler.
+ if getattr(builder['factory'], 'is_legacy_mode', True) and \
+ builder['name'] not in builders_with_schedulers:
# This builder is a candidate for an automatic scheduler.
builders_with_automatic_schedulers.append(builder)
More information about the llvm-commits
mailing list