-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache build targets #58
Comments
I'm not sure how this would work. Could you outline what you mean? |
Say you have a target named You've also got one simple file which
If there was a build cache, the "remaking in (3) could have been avoided b/c Make could tell that it had already made Does that make sense? |
Follow up on a conversation on Mastodon.
Is it possible to have a smarter™ way of caching a target based on the contents rather than modification time?
For example:
One idea for the implementation (non-PHONY targets) is to store the caches in
PROJECT_ROOT/.bmakelib-caches
& use checksums to identify if a target exists in the cache and retrieve the value. In the case of directories, the checksum of thetar
'ed archive can be used.The text was updated successfully, but these errors were encountered: