-
Notifications
You must be signed in to change notification settings - Fork 204
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
Is dir cache coming to buck2? #375
Comments
No, a cursory glance indicates that The docs you're linking to are actually the original buck1 docs, but in many (most?) cases do not apply at all to buck2. They're just stuffed under Frankly, the |
You could possibly glue https://github.com/allada/turbo-cache onto |
"Untested on Windows, but might work" rules it out for me. I'd like something that supports all of the same platforms that buck2 supports with the same SLA, or at the very least the same process for submitting fixes upstream. No word from the buck2 team yet, so I'll wait to draw any conclusions about the future here until they respond. |
Also, turbo-cache unfortunately is only really available to use as a Bazel target, not as a Rust crate from https://crates.io — crates make integrating into buck2 a lot easier since Reindeer can generate rules for it, rather than porting the build rules or porting the codebase directly into here. Turbo cache does look pretty good though, aside from that... |
I think there might be a vague plan to roll out a dir cache, but thus far it hasn't been required for anything we've done. It has some value, so I imagine eventually it will bubble its way up to the top. |
In buck1 you could specify
dir = <some local path>
in your buckconfig, and it would use that as a local object cache. It doesn't seem to be doing anything in buck2, despite being documented here. Am I holding it wrong, and it's supposed to work? Or will this be coming later? Or is it not planned for buck2?The text was updated successfully, but these errors were encountered: