On 08/11/2011 11:46 AM, Eric Blake wrote:
> I think we need a better solution that involves a stamp file

Yes, that could also be done, and please feel free to do that.

I've been moving away from stamp files like that lately, though,
as these days they seem to be more trouble than they're worth,
at least for me.  If you do create a stamp file, please make
sure that it works with parallel makes.  A common problem
is that there must be an unstated dependency between the
configmake.h stamp file, and the file FOO that depends
on configmake.h.  (This dependency must be unstated, as that's
the whole point of the stamp file.)  The unstated dependency often
messes up the parallel make.  The problem can be worked around,
though I don't remember offhand how to do that, and the complexity
of doing it "right" has led me to think that it shouldn't be done
at all.

Reply via email to