diff options
-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. |