-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Cache build environments by content hash
Write an archive consisting of the build environment provided by pip, and then extract it at a path containing the SHA256 hash of its contents. This prevents unnecessary rebuilds triggered by CMake thinking that packages provided by pip in the build environment have been changed, when it's only the temporary path that changed. Because the path contains the hash of its contents, this is perfectly safe since a changed build environment will change the hash. Signed-off-by: Tobias Markus <[email protected]>
- Loading branch information
Showing
2 changed files
with
124 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters