diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-24 21:07:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-24 21:07:26 +0200 |
commit | dd1aa8922a5e1505b17c46ab120f11b5979a2b66 (patch) | |
tree | 733a974d1e6deb4d2ac1a6403c2fe844dc1a6939 /build2/checksum-change-detection | |
parent | 0fbac643b4148fe0c7bcbcfe51cf5b231a242ad9 (diff) |
Add idea: Checksum of preprocessed output as change detection
Diffstat (limited to 'build2/checksum-change-detection')
-rw-r--r-- | build2/checksum-change-detection | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build2/checksum-change-detection b/build2/checksum-change-detection new file mode 100644 index 0000000..3069800 --- /dev/null +++ b/build2/checksum-change-detection @@ -0,0 +1,9 @@ +- Checksum of preprocessed output as change detection [idea] + +If instead of a timestamp (or, really, in addition to timestamp) we hash the +preprocessor output, then we can detect (and avoid updating on) whitespace- +only changes (e.g., edited a comment). + +The big question will be how to reuse this output if we do need to recompile. + +Also, this may fit nicely with the build slave idea. |