Jeff Clites <[EMAIL PROTECTED]> wrote:
> On Oct 23, 2004, at 5:14 AM, Leopold Toetsch wrote:

>> First, if you don't have it yet done, install ccache.

> Thanks for the tip--seems awesome.

Welcome.

> In the dump case, you basically (it seems) need to parse the pmc file
> in order to determine the parent (chain), in order to determine the
> dependencies, in order to figure out what you need to put into your
> digest. (In the ccache case, it's the preprocessor doing this for you.)
> But by then, you've done most of the work I'd think (by parsing the pmc
> file).

Probably yes. But you could check all the time stamps of the parents. If
all parent pmcs are older then the cached .c and .dump files, you could
just serve from the pmc-cache. This is probably doable by Makefile-only
rules too, but then a "make clean" still does the full recreation. And
"make clean" is commonly needed due to insufficient dependencies, which
is another issue.

> JEff

leo

Reply via email to