Boost logo

Boost-Build :

Subject: Re: [Boost-build] Programmatic Job Count
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-22 05:19:56

On Thursday 20 November 2008 04:10:42 Jurko Gospodnetić wrote:
> Hi Volodya.
> > Please update and rebuild Boost.Jam. Then, put the following in your Jamroot:
> >
> > import modules ;
> > modules.poke : PARALLELISM : 4 ;
> >
> > and it should have the same effect as -j4 on command line. Presently, the PARALLELISM
> > variable overrides -j option. Soonish, I'll make it so:
> >
> > - you can create file project-config.jam, containing:
> >
> > option jobs : 4 ;
> >
> > and have 4 jobs by default
> >
> > - you can use --jobs=10 on command like, overriding project-config.jam
> >
> > Let me know if the Boost.Jam change works for you, and if the future directions
> > seems right,
> Me likes... :-) Seems to naturally and cleanly extend to other
> options then like -q, -d or even those like toolset and regular property
> settings, etc... but one thing at a time... :-)
> Except that I do not really understand what the project-config.jam
> file is supposed to represent? Is that another Jamroot alias or have I
> missed a design change while I was off-line?

Here's my post on this matter:

The point is that for large number of tweaks to the build process you have
to either edit Jamroot or Jamfiles (and remember not to commit your local changes),
or specify command line option. I would like to introduce new configuration file,
project-config.jam, that you can put in your project, and that can specify:

        - command line options (e.g. --jobs, --build-dir)
        - the default build properties
        - information about third-party libraries and tools that you have

> P.S.
> My work still isn't easing up so I'm still pretty much off-line
> related to Boost Build but I'm trying to catch up... currently only 548
> unread posts and lots of commit messages to process :-)))

Oh, I'm ahead of you -- just 156 messages to act on (though many don't require
any real action) :-)

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at