Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-07-24 05:50:34


David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > I get similiar error now. And rev 1.4 works. The reason is that XML
> > catalog is never created. The rev 1.5 marked catalog as TEMPORARY, and
> > that did not work. I'm actually at loss what effect TEMPORARY has in V2
> > (or in jam, actually), so we probably should not use it at all.
>
> It's supposed to say, "if this file is missing, but all its
> dependencies and dependents are otherwise up-to-date, don't rebuild
> it unless explicitly requiested" AFAIK. It could be used with .o
> files that get put in a Unix archive, for example, so that the .o
> files can be deleted without causing a rebuild.

Uhm... I though something like that, but that did not explain strange
behaviour on Boost.Book. Okay, I've wrote a test case:

DEPENDS all : a ;
DEPENDS a : b ;
DEPENDS b : c ;

TEMPORARY b ;

actions copy
{
cp $(>) $(<)
}

copy a : b ;
copy b : c ;

and guess what. If "c" exists, then every "bjam" invocation recreates "a".
I'm sure this is not right, or is there anything I've missed?

This happens both with Perforce Jam and with Bjam (guess I've "merged" that
bug from Perforce).

- Volodya

 


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