Boost logo

Boost-Build :

Subject: Re: [Boost-build] Concurrent jobs hints
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-12-08 16:15:38


On 12/8/2010 12:31 PM, Piotr Jachowicz wrote:
> My build contains approx. 30 projects and I usually invoke "bjam -j4" for
> concurrent builds. The problem is that 5 projects (called schema projects) use
> external tool for genearing code, and this tools cannot be invoked concurrently.
> Is there any way to provide some hint to bjam to prevent building many schema
> project concurrently?
> Currently I perform some work-around and invoke
> bjam schema1
> ...
> bjam schema5
> bjam -j4
> but it makes redundant builds

I believe that you need to set JAM_SEMAPHORE for
the bjam target. targets with the same JAM_SEMAPHORE
won't be executed in parallel.

In Christ,
Steven Watanabe

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