Subject: Re: [boost] [1.58.0] Release candidates available
From: Rob Stewart (rob.stewart_at_[hidden])
Date: 2015-04-08 04:41:25
On April 7, 2015 6:05:34 AM EDT, Vladimir Prus <vladimir_at_[hidden]> wrote:
> On 04/07/2015 11:40 AM, Rob Stewart wrote:
> > If Boost used to build fine on a limited machine, it might slow to a
> crawl due to paging with the added parallelism. Such users would have
> to use -j1 to avoid that problem.
> > Those with memory enough and more CPUs need to opt in to benefit, of
> course, but the build doesn't swamp such machines by default. However,
> if the option could be set in user.jam, then those that wish to opt in
> can do so once and then forget about it.
> Rob, it used to be possible to do:
> import option ;
> option.set jobs : 4 ;
> in user-config.jam, but that appears to have regressed. Is that what
> you're after?
I wasn't requesting the feature so much as suggesting that it would be reasonable to have a user-specified, opt in mechanism for building in parallel as part of my answer to why parallel ought not be the default.
However, to directly answer your question, yes, I think such an option would be nice. It also looks like it could be used for other options, too, which would be nice.
(Sent from my portable computation engine)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk