This has been broken for a while, but the branch was never being taken.
(We were trying to do 'str + floatVal'; now we do 'str % intVal' and use
the '%d' format.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168174
91177308-0d34-0410-b5e6-
96231b3b80d8
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"
# 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,)