-
Notifications
You must be signed in to change notification settings - Fork 0
sccache is a pain to install in CI #12
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 occasi 8000 onally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for recording the challenges you've run into! I've marked this as a "question", not to question whether we should fix it but to help note that further investigation is needed to create proposals on how to fix this. #11 talks a little about the challenges of
Is your I wish I could ask more clarifying questions but I've not yet dealt with sccache. My CI times haven't been bad enough. I'd love it if we could have some kind of community caching service though I know that has all sorts of security complications. |
I have both Cargo.toml and Cargo.lock checked in. The hit rate is for re-running the same build on the same git commit, so there are no source code changes. |
Ouch. I was assuming this was more related to how often the cache is useful, not that it was flat out failing. What have the maintainers said? |
I'm the (co)maintainer, so ¯\_(ツ)_/¯ :) |
Uh oh!
There was an error while loading. Please reload this page.
I've spent way too much time trying to get https://github.com/imazen/imageflow use sccache, and it still doesn't work that well.
cargo install sccache
takes way longer than time saving from sccache.cache: cargo
, so these targets are left without ability to cachecargo install
!musl
versions of sccache, but because of openssl dependency that turned out to be annoyingly hard, too.I may be using AWS wrong, but having password-protected S3 bucket requires writing JSON!? I hoped I could set up a bucket for the cache just by ticking a few checkboxes in a GUI, but nope.
I get ~20% cache hit ratio in sccache, and I'm not sure if that's good or bad and what can I do to improve it.
The text was updated successfully, but these errors were encountered: