Fix the case where the number of jobs is less than the
authorDavid Greene <greened@obbligato.org>
Fri, 4 Mar 2011 23:02:52 +0000 (23:02 +0000)
committerDavid Greene <greened@obbligato.org>
Fri, 4 Mar 2011 23:02:52 +0000 (23:02 +0000)
commitb1939d5db6f95f18c9898861c58d2eac6456f06b
tree9b5d5cd8daa86c1d10898fc2e25d8089f190cce4
parent0795abd0d44d3e299978c273f52c2dbf4924a6e9
Fix the case where the number of jobs is less than the
number of threads.  In that case make the number of threads
equal to the number of jobs and launch one jobs on each
thread.  This makes things work like make -j.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127045 91177308-0d34-0410-b5e6-96231b3b80d8
utils/llvmbuild