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

ci: Set up cache build with sccache #1825

Merged
merged 1 commit into from
May 5, 2019
Merged

Conversation

tesuji
Copy link
Contributor

@tesuji tesuji commented May 2, 2019

Blocked on #1815.

Now the first build time is a little slower, but incremental builds
in the same branch should be faster.

r? @kinnison

@kinnison
Copy link
Contributor

kinnison commented May 2, 2019

When you say it's a little slower on first build of a branch -- how much slower are we talking?
How many builds does it take to get that slowness back? Is it on the second build, the third?

@tesuji
Copy link
Contributor Author

tesuji commented May 2, 2019

Look at build time on Travis, this PR may take about 30 seconds more than
normal builds. The second build and later should be faster (upto 4 minutes).

@tesuji tesuji force-pushed the sccache branch 3 times, most recently from 20772e9 to 5adcc76 Compare May 3, 2019 13:12
@kinnison
Copy link
Contributor

kinnison commented May 5, 2019

Does the rustc docker contain sccache then? I couldn't see how it turned up otherwise.

@tesuji
Copy link
Contributor Author

tesuji commented May 5, 2019

Yes. In this line from build log, sccache is called.

@kinnison kinnison merged commit ed65847 into rust-lang:master May 5, 2019
@tesuji tesuji deleted the sccache branch May 5, 2019 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants