Commit 2023-01-03 21:54 01a2153b
View on Github →feat: caching build files on Azure (#1230) This PR implements caching for Mathlib build files. The basic API is:
lake exe cache getto download missing build fileslake exe cache putto upload files that are missing on the serverlake exe cacheto print the help menu This caching method has a few enhancements on top of the solution we had for mathlib in Lean 3:
- Source files are content-addressed and build files are referenced by such hashes separately
- Minimized download traffic with queries that only pull files that are missing locally
- Minimized upload traffic with queries that only push files that are missing on the server