[cfe-dev] newbie

Stephan Bergmann via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 7 06:41:33 PST 2018


On 07.03.2018 15:31, mats petersson via cfe-dev wrote:
> Despite having 32GB of RAM (and not much swap-space), building a debug 
> version of LLVM + Clang with -j N, and having N > ~10 will make my 
> machine almost stop (to the level where I hit a key and it takes several 
> seconds to respond to that single keypress).

What I find useful is to pass a small value like 
-DLLVM_PARALLEL_LINK_JOBS=2 into the cmake/ninja build.  For me, it's 
always been too many parallel link jobs that would have brought the 
build machine to its knees.



More information about the cfe-dev mailing list