-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustbuild: Pass ccache
to build scripts
#48630
Conversation
r? @kennytm |
📌 Commit 5262be3 has been approved by |
src/ci/run.sh
Outdated
# server (#48192) which causes Cargo to erroneously think that a build script | ||
# hasn't finished yet. Try to solve that problem by starting a very long-lived | ||
# sccache server at the start of the build, but no need to worry if this fails. | ||
SCCACHE_IDLE_TIMEOUT=7200 sccache --start-server || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems insufficient -- 120 minutes is only 2 hours, whereas our builders go up to 3 hours sometimes. Maybe we should lengthen it just to make sure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine by me!
This is a re-attempt at rust-lang#48192 hopefully this time with 100% less randomly [blocking builds for 20 minutes][block]. To work around rust-lang#48192 the sccache server is started in the `run.sh` script very early on in the compilation process. [block]: rust-lang#48192
5262be3
to
fdef6a8
Compare
@bors: r=kennytm |
📌 Commit fdef6a8 has been approved by |
@bors p=2 prioritizing risky-to-rollup PRs so they get tested first |
⌛ Testing commit fdef6a8 with merge 52d1a82644c5d5c8bb0fdc6fc4c393ba594137b8... |
💥 Test timed out |
☀️ Test successful - status-appveyor, status-travis |
This is a re-attempt at #48192 hopefully this time with 100% less randomly
blocking builds for 20 minutes. To work around #48192 the sccache
server is started in the
run.sh
script very early on in the compilationprocess.