[PATCH] Use ninja pool to limit the number of concurrent compile/link jobs

Evgeniy Stepanov eugenis at google.com
Tue Nov 18 08:22:15 PST 2014


On Tue Nov 18 2014 at 7:18:12 PM Tobias Grosser <tobias at grosser.es> wrote:

> On 18.11.2014 17:09, Evgeniy Stepanov wrote:
> > -j sets the general limit on concurrent build jobs, and these two are
> > separate limits on compile/link jobs.
>
> I assume this means the following:
>
> If I set LLVM_PARALLEL_COMPILE_JOBS = 4 and LLVM_PARALLEL_LINK_JOBS = 6
> and run ninja -j 8, ninja will run at most 4 parallel compile jobs, at
> most 6 parallel link jobs, but the sum of compile and link jobs never
> exceeds 8.
>

Right.


> Cheers,
> Tobias
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141118/cf73bc25/attachment.html>


More information about the llvm-commits mailing list