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 boost.build. 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 boost.build 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.

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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