Boost logo

Boost-Build :

Subject: Re: [Boost-build] Concurrent jobs hints
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-12-08 16:37:10

At Wed, 8 Dec 2010 20:31:27 +0000 (UTC),
Piotr Jachowicz wrote:
> Hello,
> 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

You could wrap your tool with a filesystem-based mutex.

Dave Abrahams
BoostPro Computing

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