Skip to content

Conversation

alexcrichton
Copy link
Member

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 compilation
process.

@alexcrichton
Copy link
Member Author

r? @kennytm

@kennytm
Copy link
Member

kennytm commented Mar 1, 2018

@bors r+

cc #48059, the previous attempt.

@bors
Copy link
Collaborator

bors commented Mar 1, 2018

📌 Commit 5262be3 has been approved by kennytm

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Mar 1, 2018
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
Copy link
Member

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?

Copy link
Member Author

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
@alexcrichton
Copy link
Member Author

@bors: r=kennytm

@bors
Copy link
Collaborator

bors commented Mar 2, 2018

📌 Commit fdef6a8 has been approved by kennytm

@Manishearth
Copy link
Member

@bors p=2

prioritizing risky-to-rollup PRs so they get tested first

@bors
Copy link
Collaborator

bors commented Mar 2, 2018

⌛ Testing commit fdef6a8 with merge 52d1a82644c5d5c8bb0fdc6fc4c393ba594137b8...

@bors
Copy link
Collaborator

bors commented Mar 2, 2018

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 2, 2018
@alexcrichton
Copy link
Member Author

AppVeyor barely squeaked by and Travis logs are truncated.

@bors: retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 2, 2018
Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 3, 2018
@bors
Copy link
Collaborator

bors commented Mar 4, 2018

⌛ Testing commit fdef6a8 with merge 4a316e7...

bors added a commit that referenced this pull request Mar 4, 2018
rustbuild: Pass `ccache` to build scripts

This is a re-attempt at #48192 hopefully this time with 100% less randomly
[blocking builds for 20 minutes][block]. To work around #48192 the sccache
server is started in the `run.sh` script very early on in the compilation
process.

[block]: #48192
@bors
Copy link
Collaborator

bors commented Mar 4, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: kennytm
Pushing 4a316e7 to master...

@bors bors merged commit fdef6a8 into rust-lang:master Mar 4, 2018
@alexcrichton alexcrichton deleted the more-sccache branch March 19, 2018 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants