[zorg] r374976 - LLVMBuilfFactory should always have is_legacy_mode attribute.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 22:09:08 PDT 2019
Author: gkistanova
Date: Tue Oct 15 22:09:08 2019
New Revision: 374976
URL: http://llvm.org/viewvc/llvm-project?rev=374976&view=rev
Log:
LLVMBuilfFactory should always have is_legacy_mode attribute.
Modified:
zorg/trunk/zorg/buildbot/process/factory.py
Modified: zorg/trunk/zorg/buildbot/process/factory.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/process/factory.py?rev=374976&r1=374975&r2=374976&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/process/factory.py (original)
+++ zorg/trunk/zorg/buildbot/process/factory.py Tue Oct 15 22:09:08 2019
@@ -36,6 +36,9 @@ class LLVMBuildFactory(BuildFactory):
else:
self.depends_on_projects = frozenset(depends_on_projects)
+ # By default LLVMBuildFactory works in the legacy mode.
+ self.is_legacy_mode = kwargs.pop('is_legacy_mode', True)
+
# Preserve all the given extra attributes if any, so we could
# expand the factory later.
for k,v in kwargs.items():
More information about the llvm-commits
mailing list