projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d947a66
)
[analyzer] SATestBuild.py: correctly add -j option for projects using make.
author
Jordan Rose
<jordan_rose@apple.com>
Thu, 15 Nov 2012 22:03:53 +0000
(22:03 +0000)
committer
Jordan Rose
<jordan_rose@apple.com>
Thu, 15 Nov 2012 22:03:53 +0000
(22:03 +0000)
llvm-svn: 168099
clang/utils/analyzer/SATestBuild.py
patch
|
blob
|
history
diff --git
a/clang/utils/analyzer/SATestBuild.py
b/clang/utils/analyzer/SATestBuild.py
index
9412358
..
9bb66e4
100755
(executable)
--- a/
clang/utils/analyzer/SATestBuild.py
+++ b/
clang/utils/analyzer/SATestBuild.py
@@
-213,8
+213,8
@@
def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
# 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,)