Boost logo

Boost-Build :

Subject: Re: [Boost-build] decrease build time
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2009-06-23 16:23:58

On Jun 23, 2009, at 2:14 PM, K. Noel Belcourt wrote:

> On Jun 11, 2009, at 4:19 AM, Vladimir Prus wrote:
>> Anatoly Shirokov wrote:
>>> I have big project (about 600 dynamic libraries, 20000 cpp and
>>> header
>>> files). When I start full build with bjam, the one takes about 30
>>> minutes and about 800 Mb RAM to analize dependencies. Only after
>>> this it
>>> starts compilation.
> We too see resource consumption on this level (only larger). Bjam
> consumes 3.4 Gb memory to analyze dependencies (our project is C/C++/
> F77/F90).
>>> Is there a way to decrease this time needed to analize (may be
>>> cache and
>>> something like this)?
>> Are you using most up-to-date version (SVN HEAD, nightly build)? If
>> not,
>> you probably can provide output of -d+10 in case there's some local
>> scalability problem. What is your OS and compiler? Will you be
>> willing
>> to try Python port of Boost.Build in near future, which should be
>> considerably
>> faster on all use cases?
> We're using Boost Build from 1.38 at the moment. You can see some of
> our OS and compiler configurations by looking at the Sandia results
> on the trunk testing page (the 3.4 Gb result above is on Linux RH4
> with gcc-4.2.4). I'd love to be a beta tester for a python port, if
> you're looking for testers.

And here's the output from a debug gcc-4.2.4 full build with -d+10.

-- Noel

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