Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-04-25 07:37:14


Vladimir Prus wrote:

> On Tuesday 25 April 2006 13:01, Markus Schöpflin wrote:
>> Alex Besogonov wrote:
>>> I wonder why BBv2 doesn't use Jam's header depcache? I've stumbled upon
>>> it while wading through jam's sources.
>>>
>>> Dependency cache is is used in BBv1 and it really imporves compilation
>>> speed (especially, on Windows machines).
>>>
>>> Today I've tried to compile my project with .jamdeps turned on
>>> ("modules.poke : HCACHEFILE : .jamdeps ;" in my Jamroot) and it has
>>> compiled without problems.
>> I tried this by creating a file called 'Jamroot' in the boost top level
>> directory containing only the line noted above, but I get an error when
>> invoking bjam:
>
> You should add this to 'project-root.jam' instead. Boost still uses
> project-root.jam + Jamfile.v2 combo.

Thanks. I did this and tested the execution time of 'bjam --v2 -n
hp_cxx-71_006_tru64 > /dev/null' in the status directory, but did not find
any significant differences when enabling dependency caching.

Markus


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