diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/analyzer/SATestBuild.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py index 9bb66e4956..4d68fd8731 100755 --- a/utils/analyzer/SATestBuild.py +++ b/utils/analyzer/SATestBuild.py @@ -142,7 +142,7 @@ if not Clang: sys.exit(-1) # Number of jobs. -Jobs = math.ceil(detectCPUs() * 0.75) +Jobs = int(math.ceil(detectCPUs() * 0.75)) # Project map stores info about all the "registered" projects. ProjectMapFile = "projectMap.csv" @@ -214,7 +214,7 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile): # to speed up analysis. xcodebuild will # automatically use the maximum number of cores. if Command.startswith("make ") or Command == "make": - Command += " -j" + Jobs + Command += " -j%d" % Jobs SBCommand = SBPrefix + Command if Verbose == 1: print " Executing: %s" % (SBCommand,) |