Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-04-25 05:01:12


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:

libs/filesystem/build> bjam --v2 hp_cxx-71_006_tru64

/vol2/boost/src/boost-HEAD/tools/build/v2/build/project.jam:292: in
load-jamfile
*** argument error
* rule path.parent ( path )
* called with: ( ../../../project-root.jam ../../../Jamroot )
* extra argument ../../../Jamroot
/vol2/boost/src/boost-HEAD/tools/build/v2/util/path.jam:86:see definition
of rule 'parent' being called
/vol2/boost/src/boost-HEAD/tools/build/v2/build/project.jam:68: in load
/vol2/boost/src/boost-HEAD/tools/build/v2/build/project.jam:116: in load-parent
/vol2/boost/src/boost-HEAD/tools/build/v2/build/project.jam:443: in initialize
/vol2/boost/src/boost-HEAD/tools/build/v2/build/project.jam:297: in
load-jamfile
/vol2/boost/src/boost-HEAD/tools/build/v2/build/project.jam:68: in load
/vol2/boost/src/boost-HEAD/tools/build/v2/build/project.jam:166: in
project.find
/vol2/boost/src/boost-HEAD/tools/build/v2/build-system.jam:147: in load
/vol2/boost/src/boost-HEAD/tools/build/v2/kernel/modules.jam:261: in import
/vol2/boost/src/boost-HEAD/tools/build/v2/kernel/bootstrap.jam:132: in
boost-build
/vol2/boost/src/boost-HEAD/boost-build.jam:12: in module scope

Is this to be expected?

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