7 Apr
2015
7 Apr
'15
8:38 a.m.
On Tue, Apr 7, 2015 at 11:22 AM, Olaf van der Spek
On Tue, Apr 7, 2015 at 10:00 AM, Andrey Semashev
wrote: Could b2 default to -jX where X is the number of cores?
This would be unexpected
Why?
AFAIK, other build systems do not build in parallel by default.
and detrimental if there is not enough RAM.
How much RAM is needed?
This heavily depends on the compiler and libraries compiled. I don't have concrete numbers now but from my memory -j8 with MSVC exceeded 4GiB at certain points. AFAIR, Intel compiler was especially hungry for memory.