Subject: Re: [boost] [1.58.0] Release candidates available
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-04-07 04:38:55


On Tue, Apr 7, 2015 at 11:22 AM, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Tue, Apr 7, 2015 at 10:00 AM, Andrey Semashev
> <andrey.semashev_at_[hidden]> 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.