Caching
Run buildl build twice and the second run does nothing. That is not because buildl looked at
file times. Before it runs an action, it works out a fingerprint of everything that action could
depend on, and if it has run an action with the same fingerprint before, it puts the old outputs
back instead of running it again.
This chapter covers how that works and the commands built on it:
- The Action Key: what goes into the fingerprint, and how
buildl plantells you why a target has to run - Early Cutoff: why a target whose dependency was rebuilt to the same bytes is left alone
- Tests:
buildl test, and tests that are not run again when nothing they depend on changed clean,gcandverify: removing outputs, trimming the store, and checking that what the cache holds is what the action really makes