mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Fix threads/jobs Calculation
Pass the correct jobs and threads information to the builder. We were underutilizing the number of jobs and threads specified by the user. llvm-svn: 141977
This commit is contained in:
parent
81607c1378
commit
49763ec294
@ -755,9 +755,10 @@ if jobs == 0:
|
||||
jobs = 1
|
||||
|
||||
numthreads = options.threads
|
||||
if jobs < numthreads:
|
||||
numthreads = jobs
|
||||
jobs = 1
|
||||
|
||||
logging.getLogger().info("Building with " + str(options.jobs) + " jobs and "
|
||||
+ str(numthreads) + " threads using " + str(jobs)
|
||||
+ " make jobs")
|
||||
|
||||
for t in range(numthreads):
|
||||
builder = Builder(work_queue, jobs,
|
||||
|
Loading…
Reference in New Issue
Block a user