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

Tobias Grosser tobias at grosser.es
Tue Nov 18 08:18:10 PST 2014


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.

Cheers,
Tobias



More information about the llvm-commits mailing list