[cfe-commits] r168099 - /cfe/trunk/utils/analyzer/SATestBuild.py
Jordan Rose
jordan_rose at apple.com
Thu Nov 15 14:03:53 PST 2012
Author: jrose
Date: Thu Nov 15 16:03:53 2012
New Revision: 168099
URL: http://llvm.org/viewvc/llvm-project?rev=168099&view=rev
Log:
[analyzer] SATestBuild.py: correctly add -j option for projects using make.
Modified:
cfe/trunk/utils/analyzer/SATestBuild.py
Modified: cfe/trunk/utils/analyzer/SATestBuild.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/analyzer/SATestBuild.py?rev=168099&r1=168098&r2=168099&view=diff
==============================================================================
--- cfe/trunk/utils/analyzer/SATestBuild.py (original)
+++ cfe/trunk/utils/analyzer/SATestBuild.py Thu Nov 15 16:03:53 2012
@@ -213,8 +213,8 @@
# If using 'make', auto imply a -jX argument
# to speed up analysis. xcodebuild will
# automatically use the maximum number of cores.
- if Command.startswith("make "):
- Command += "-j" + Jobs
+ if Command.startswith("make ") or Command == "make":
+ Command += " -j" + Jobs
SBCommand = SBPrefix + Command
if Verbose == 1:
print " Executing: %s" % (SBCommand,)
More information about the cfe-commits
mailing list