On Tue, Oct 20, 2015 at 11:07 PM, Mike Shal <mar...@gmail.com> wrote:

if timestamp(foo.o) < timestamp(foo.c) {rebuild foo.o}
>
> to:
>
> if checksum(foo.c) != last_checksum(foo.c) {rebuild things that depend on
> foo.c}
>
> But you can get pretty much all the same benefits without having to hash
> everything just by doing:
>
> if timestamp(foo.c) != last_timestamp(foo.c) {rebuild things that depend
> on foo.c}
>

These sound awesome!  With the obvious note that the last_x values should
only be updated when rebuilding children is complete, so that if the build
is interrupted, they won't be forgotten to require rebuilding.  (Or a more
fine-grained, per-children build state could also be stored.)

I personally don't care if the build breaks on an intentional 'touch -t',
I'd be happy to see either of these solutions!

Is there any realistic ETA on this feature?

Thanks a lot,
egmont
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to