[llvm-commits] [llvm] r141977 - /llvm/trunk/utils/llvmbuild
David Greene
greened at obbligato.org
Fri Oct 14 12:12:37 PDT 2011
Author: greened
Date: Fri Oct 14 14:12:37 2011
New Revision: 141977
URL: http://llvm.org/viewvc/llvm-project?rev=141977&view=rev
Log:
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.
Modified:
llvm/trunk/utils/llvmbuild
Modified: llvm/trunk/utils/llvmbuild
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/llvmbuild?rev=141977&r1=141976&r2=141977&view=diff
==============================================================================
--- llvm/trunk/utils/llvmbuild (original)
+++ llvm/trunk/utils/llvmbuild Fri Oct 14 14:12:37 2011
@@ -755,9 +755,10 @@
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,
More information about the llvm-commits
mailing list