Boost logo

Boost-Build :

Subject: Re: [Boost-build] Programmatic Job Count
From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-11-19 20:10:42


   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?

   Best regards,
     Jurko Gospodnetić

   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 :-)))


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk