[zorg] r269472 - Switched to LLVMBuildFactory for svn steps in getLLDBuildFactory.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 13:31:32 PDT 2016
Author: gkistanova
Date: Fri May 13 15:31:31 2016
New Revision: 269472
URL: http://llvm.org/viewvc/llvm-project?rev=269472&view=rev
Log:
Switched to LLVMBuildFactory for svn steps in getLLDBuildFactory.
Modified:
zorg/trunk/zorg/buildbot/builders/LLDBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/LLDBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLDBuilder.py?rev=269472&r1=269471&r2=269472&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBuilder.py Fri May 13 15:31:31 2016
@@ -10,6 +10,7 @@ from zorg.buildbot.builders.Util import
from zorg.buildbot.builders.Util import extractSlaveEnvironment
from zorg.buildbot.commands.NinjaCommand import NinjaCommand
from zorg.buildbot.conditions.FileConditions import FileDoesNotExist
+from zorg.buildbot.process.factory import LLVMBuildFactory
def getLLDBuildFactory(
clean = True,
@@ -38,16 +39,8 @@ def getLLDBuildFactory(
env=merged_env,
workdir="."))
# Get LLVM and Lld
- f.addStep(SVN(name='svn-llvm',
- mode='update',
- baseURL='http://llvm.org/svn/llvm-project/llvm/',
- defaultBranch='trunk',
- workdir=llvm_srcdir))
- f.addStep(SVN(name='svn-lld',
- mode='update',
- baseURL='http://llvm.org/svn/llvm-project/lld/',
- defaultBranch='trunk',
- workdir='%s/tools/lld' % llvm_srcdir))
+ f = LLVMBuildFactory(depends_on_projects=['llvm', 'lld'])
+ f.addSVNSteps(llvm_srcdir=llvm_srcdir)
# Clean directory, if requested.
if clean:
More information about the llvm-commits
mailing list