[zorg] r374804 - Added UnifiedTreeBuilder.getLLVMBuildFactoryAndPrepareForSourcecodeSteps for a better code reuse.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 11:54:37 PDT 2019
Author: gkistanova
Date: Mon Oct 14 11:54:37 2019
New Revision: 374804
URL: http://llvm.org/viewvc/llvm-project?rev=374804&view=rev
Log:
Added UnifiedTreeBuilder.getLLVMBuildFactoryAndPrepareForSourcecodeSteps for a better code reuse.
Modified:
zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py?rev=374804&r1=374803&r2=374804&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.py Mon Oct 14 11:54:37 2019
@@ -10,7 +10,7 @@ from zorg.buildbot.process.factory impor
import zorg.buildbot.builders.Util as builders_util
-def getLLVMBuildFactoryAndSVNSteps(
+def getLLVMBuildFactoryAndPrepareForSourcecodeSteps(
depends_on_projects = None,
llvm_srcdir = None,
obj_dir = None,
@@ -44,6 +44,25 @@ def getLLVMBuildFactoryAndSVNSteps(
doStepIf=cleanBuildRequestedByProperty,
))
+ return f
+
+def getLLVMBuildFactoryAndSVNSteps(
+ depends_on_projects = None,
+ llvm_srcdir = None,
+ obj_dir = None,
+ install_dir = None,
+ cleanBuildRequested = None,
+ env = None,
+ **kwargs):
+
+ f = getLLVMBuildFactoryAndPrepareForSourcecodeSteps(
+ depends_on_projects=depends_on_projects,
+ llvm_srcdir=llvm_srcdir,
+ obj_dir=obj_dir,
+ install_dir=install_dir,
+ cleanBuildRequested=cleanBuildRequested,
+ **kwargs) # Pass through all the extra arguments.
+
# Get the source code.
f.addSVNSteps()
More information about the llvm-commits
mailing list