|
From: | Egmont Koblinger |
Subject: | Re: [bug #46242] Race condition when input file is updated while compiling |
Date: | Wed, 21 Oct 2015 10:01:36 +0200 |
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}
[Prev in Thread] | Current Thread | [Next in Thread] |