Skip to content
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

Setup prow to cache rustc outputs #6

Open
howardjohn opened this issue Oct 19, 2022 · 3 comments
Open

Setup prow to cache rustc outputs #6

howardjohn opened this issue Oct 19, 2022 · 3 comments
Labels
area/dev-exp Area: Developer Experience backlog

Comments

@howardjohn
Copy link
Member

No description provided.

@howardjohn
Copy link
Member Author

We have now setup crates download caching. Sharing a build cache seems much harder. We can't just naively share the target folder since it uses locks. sccache with local folder didn't work for me, not sure why

@howardjohn
Copy link
Member Author

 1: cargo install sccache --features openssl/vendored
  2: export SCCACHE_DIR=/tmp/rust-build/sccache
  3: export RUSTC_WRAPPER=/home/.cargo/bin/sccache
  4  export CARGO_INCREMENTAL=0
  5: export SCCACHE_ERROR_LOG=/tmp/sccache_log.txt
  6: export SCCACHE_LOG=debug

^ My previous attempt to use sccache in prow; didn't work

@jaellio
Copy link

jaellio commented Jul 10, 2023

@Stevenjin8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev-exp Area: Developer Experience backlog
Projects
Status: Longterm Backlog
Development

No branches or pull requests

3 participants