[zorg] r191791 - Added jobs property to getLLDBuildFactory.
Galina Kistanova
gkistanova at gmail.com
Tue Oct 1 12:50:11 PDT 2013
Author: gkistanova
Date: Tue Oct 1 14:50:10 2013
New Revision: 191791
URL: http://llvm.org/viewvc/llvm-project?rev=191791&view=rev
Log:
Added jobs property to 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=191791&r1=191790&r2=191791&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBuilder.py Tue Oct 1 14:50:10 2013
@@ -7,7 +7,8 @@ from buildbot.steps.shell import Configu
from buildbot.process.properties import WithProperties
def getLLDBuildFactory(
- clean = True):
+ clean = True,
+ jobs="%(jobs)s"):
llvm_srcdir = "llvm.src"
llvm_objdir = "llvm.obj"
@@ -62,7 +63,8 @@ def getLLDBuildFactory(
workdir=llvm_objdir))
# Build Lld
f.addStep(ShellCommand(name="build_Lld",
- command=["make"],
+ command=['nice', '-n', '10',
+ 'make', WithProperties("-j%s" % jobs)],
haltOnFailure=True,
description=["build lld"],
workdir=llvm_objdir))
More information about the llvm-commits
mailing list