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

Evgeniy Stepanov eugenis at google.com
Tue Nov 18 03:55:08 PST 2014


Hi chandlerc,

This change makes use of the new "job pool" capability in cmake 3.0.2 with ninja generator to allow limiting the number of concurrent jobs of a certain type.

For some reason, there is no way to define "JOB_POOLS" global property on the command line (or is there?).

We need this to limit the number of link jobs on the sanitizer-bootstrap bot, which runs out of memory linking multiple targets with debug info and sanitizer instrumentation.

http://reviews.llvm.org/D6304

Files:
  CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6304.16322.patch
Type: text/x-patch
Size: 712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141118/53646c5e/attachment.bin>


More information about the llvm-commits mailing list