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

Use ccache for stage0 tool builds #136942

Closed
wants to merge 8 commits into from
Closed

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Feb 12, 2025

r? @ghost

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 12, 2025

@bors try

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Feb 12, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 12, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@bors
Copy link
Contributor

bors commented Feb 12, 2025

⌛ Trying commit 344800b with merge f0a58be...

@bors
Copy link
Contributor

bors commented Feb 12, 2025

☀️ Try build successful - checks-actions
Build commit: f0a58be (f0a58bea3b65287ec3ea74e2bc2e2f3597d8daa7)

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 12, 2025

@bors try

@bors
Copy link
Contributor

bors commented Feb 12, 2025

⌛ Trying commit 344800b with merge ed2acf1...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 12, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@bors
Copy link
Contributor

bors commented Feb 12, 2025

☀️ Try build successful - checks-actions
Build commit: ed2acf1 (ed2acf1d5f29a81765ba5f0f28eaaa5d320e23ae)

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 13, 2025

@bors try

@bors
Copy link
Contributor

bors commented Feb 13, 2025

⌛ Trying commit 52d0743 with merge 27f776f...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 13, 2025

Looks like this will need a newer version of sccache, testing in a different PR.

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Feb 13, 2025
@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 13, 2025

@bors try

@bors
Copy link
Contributor

bors commented Feb 13, 2025

⌛ Trying commit d3d174f with merge 541316a...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@bors
Copy link
Contributor

bors commented Feb 13, 2025

☀️ Try build successful - checks-actions
Build commit: 541316a (541316a5d6389f6ec6b88bd91423d9cfa3cdecb5)

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 13, 2025

@bors try

@bors
Copy link
Contributor

bors commented Feb 13, 2025

⌛ Trying commit d3d174f with merge 5a084bf...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@bors
Copy link
Contributor

bors commented Feb 13, 2025

☀️ Try build successful - checks-actions
Build commit: 5a084bf (5a084bff49c0e13d013f66731bd3c9412aa3ef27)

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 13, 2025

@bors try

Full build without Rust sccache.

@bors
Copy link
Contributor

bors commented Feb 13, 2025

⌛ Trying commit 9aaa9f6 with merge 31c05b8...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@bors
Copy link
Contributor

bors commented Feb 13, 2025

☀️ Try build successful - checks-actions
Build commit: 31c05b8 (31c05b827fb7f21f526972a60e5c87acab7f3c21)

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 13, 2025

@bors try

Full build with sccache, run 1.

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@bors
Copy link
Contributor

bors commented Feb 13, 2025

⌛ Trying commit ad72ae3 with merge 4c1f1dd...

@bors
Copy link
Contributor

bors commented Feb 13, 2025

☀️ Try build successful - checks-actions
Build commit: 4c1f1dd (4c1f1ddf9c3ce270293bd45574f9c75cc860f5e7)

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 14, 2025

@bors try

@bors
Copy link
Contributor

bors commented Feb 14, 2025

⌛ Trying commit ad72ae3 with merge 1e4a455...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 14, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@bors
Copy link
Contributor

bors commented Feb 14, 2025

☀️ Try build successful - checks-actions
Build commit: 1e4a455 (1e4a4551fb26229c25b5fc06e1dbd6827c18c47e)

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 14, 2025

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 14, 2025
Use ccache for stage0 tool builds

r? `@ghost`
@bors
Copy link
Contributor

bors commented Feb 14, 2025

⌛ Trying commit ad72ae3 with merge d4d5303...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 14, 2025
Bump sccache in CI to 0.9.1

We haven't updated the used sccache version for years, it has accrued a bunch of fixes and features in the meantime. It now supports the `--show-adv-stats` flag, which gives a more detailed summary of the results of caching. And it can also cache Rust code, which could be useful in the future (rust-lang#136942 - although now there are no large wins).

It also supports caching PGO now, but since the PGO profiles are always different, it won't make any real difference.

rust-lang#133076 previously tried to update the version to 0.3 (CC `@klensy)`

r? `@marcoieni`
@bors
Copy link
Contributor

bors commented Feb 14, 2025

☀️ Try build successful - checks-actions
Build commit: d4d5303 (d4d53033e1b31f93c69a8742644f3d32b47cbeda)

@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 14, 2025

I think that it is not worth it at this point. Maybe in the future, once stage1 is built only with raw bootstrap compiler.

@Kobzol Kobzol closed this Feb 14, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 19, 2025
Bump sccache in CI to 0.9.1

We haven't updated the used sccache version for years, it has accrued a bunch of fixes and features in the meantime. It now supports the `--show-adv-stats` flag, which gives a more detailed summary of the results of caching. And it can also cache Rust code, which could be useful in the future (rust-lang#136942 - although now there are no large wins).

It also supports caching PGO now, but since the PGO profiles are always different, it won't make any real difference.

rust-lang#133076 previously tried to update the version to 0.3 (CC `@klensy)`

r? `@marcoieni`
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 20, 2025
Bump sccache in CI to 0.9.1

We haven't updated the used sccache version for years, it has accrued a bunch of fixes and features in the meantime. It now supports the `--show-adv-stats` flag, which gives a more detailed summary of the results of caching. And it can also cache Rust code, which could be useful in the future (rust-lang#136942 - although now there are no large wins).

It also supports caching PGO now, but since the PGO profiles are always different, it won't make any real difference.

rust-lang#133076 previously tried to update the version to 0.3 (CC `@klensy)`

r? `@marcoieni`
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Feb 24, 2025
Bump sccache in CI to 0.9.1

We haven't updated the used sccache version for years, it has accrued a bunch of fixes and features in the meantime. It now supports the `--show-adv-stats` flag, which gives a more detailed summary of the results of caching. And it can also cache Rust code, which could be useful in the future (rust-lang/rust#136942 - although now there are no large wins).

It also supports caching PGO now, but since the PGO profiles are always different, it won't make any real difference.

rust-lang/rust#133076 previously tried to update the version to 0.3 (CC `@klensy)`

r? `@marcoieni`
github-merge-queue bot pushed a commit to rust-lang/rust-analyzer that referenced this pull request Feb 24, 2025
Bump sccache in CI to 0.9.1

We haven't updated the used sccache version for years, it has accrued a bunch of fixes and features in the meantime. It now supports the `--show-adv-stats` flag, which gives a more detailed summary of the results of caching. And it can also cache Rust code, which could be useful in the future (rust-lang/rust#136942 - although now there are no large wins).

It also supports caching PGO now, but since the PGO profiles are always different, it won't make any real difference.

rust-lang/rust#133076 previously tried to update the version to 0.3 (CC `@klensy)`

r? `@marcoieni`
BoxyUwU pushed a commit to BoxyUwU/rustc-dev-guide that referenced this pull request Feb 25, 2025
Bump sccache in CI to 0.9.1

We haven't updated the used sccache version for years, it has accrued a bunch of fixes and features in the meantime. It now supports the `--show-adv-stats` flag, which gives a more detailed summary of the results of caching. And it can also cache Rust code, which could be useful in the future (rust-lang/rust#136942 - although now there are no large wins).

It also supports caching PGO now, but since the PGO profiles are always different, it won't make any real difference.

rust-lang/rust#133076 previously tried to update the version to 0.3 (CC `@klensy)`

r? `@marcoieni`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants