Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-04-30 19:49:53


Toon Knapen <toon.knapen_at_[hidden]> writes:

> Rene Rivera wrote:
>
>> Good news is that bjam should already be doing this for you. Look for a
>> file ".jamdeps", that holds a cache of all the depency scanning.
>
> Apparantly this is stored in the ALL_LOCATE_TARGET/bin directory,
> right?

Right.

> But how can you know if you need to update it or not. For instance
> 'make' will not regenerate the dependency tree which is only
> regenerated when 'make depend' is called.

make is broken ;-)

> So how can I explain to bjam to use the cached .jamdeps file instead
> of regenerating the dependencies again.

It always uses the cached .jamdeps file. It does have to check that
none of the dependencies have changed, and if that's the case, the
.jamdeps file isn't touched. And, as Rene explained, nothing you can
do with the .jamdeps file is going to improve matters much because
dependency scanning is not where most of the time goes.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
 

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