Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-21 05:35:21

On Thursday 21 April 2005 14:22, Ian Fasel wrote:
> Hi, (sorry I think I sent this to David Abrahams instead of the list
> earlier)
> I didn't realize parallel builds were supported by This
> is great, because I already use parallel builds on a cluster of G5s
> using Xcode (using distcc), so it would be great if they work with my
> big project. Unfortunately,
> bjam -j4 release
> doesn't seem to send any jobs out to other hosts. I've checked by
> typing
> bjam -d2 -j4 release
> and didn't see anything that looked like distcc was being called.
> Since it works in my Xcode projects, I'm fairly sure distcc daemons
> are all running correctly. However I'm fairly ignorant on how this is
> supposed to work. Anything I need to do to configure this? Can
> anyone who has used distcc with bjam offer advice? This is a darwin
> target of course.

Distcc is not invoked automagically. There are two alternatives:

1. Configure gcc with

using gcc : : "distcc g++" ;

2. Create a directory with a script called "g++", that invokes

distcc g++ "$*"

and add the directory at the top of your PATH.


Vladimir Prus
Boost.Build V2:

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