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 precompiled rustc for non-dist builders #122709

Closed

Conversation

onur-ozkan
Copy link
Member

@onur-ozkan onur-ozkan commented Mar 18, 2024

Makes non-dist builders to use precompiled CI rustc by default if they are available for the target triple.

As we are going to make rust.download-rustc=if-unchanged default option with #119899, we need to make sure if-unchanged logic never breaks and works as expected.

As an addition, this will significantly improve the build times on CI when there's no change on the compiler.

blocker for #119899

try-job: aarch64-apple

@rustbot rustbot added 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-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Mar 18, 2024
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the use-precompiled-rustc-by-default branch from a080419 to 7a798d5 Compare March 18, 2024 19:21
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Mar 18, 2024

☔ The latest upstream changes (presumably #122690) made this pull request unmergeable. Please resolve the merge conflicts.

@onur-ozkan onur-ozkan added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 24, 2024
@onur-ozkan onur-ozkan force-pushed the use-precompiled-rustc-by-default branch 2 times, most recently from 7a8706a to 7ca076d Compare April 1, 2024 13:55
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the use-precompiled-rustc-by-default branch from 7ca076d to 359b0d8 Compare April 1, 2024 14:09
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the use-precompiled-rustc-by-default branch from f581ad1 to 6f7cdd6 Compare April 1, 2024 14:45
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Apr 2, 2024
@onur-ozkan onur-ozkan force-pushed the use-precompiled-rustc-by-default branch from 8306066 to 795d92b Compare April 2, 2024 15:15
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the use-precompiled-rustc-by-default branch 2 times, most recently from d7edc43 to 7099a13 Compare April 4, 2024 15:06
@onur-ozkan
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 4, 2024
…default, r=<try>

prefer precompiled rustc for x86_64-gnu

*-to be filled-*

blocker for rust-lang#119899
r? ghost
@bors
Copy link
Contributor

bors commented Apr 4, 2024

⌛ Trying commit 7099a13 with merge 9ec5616...

@bors
Copy link
Contributor

bors commented Apr 4, 2024

☀️ Try build successful - checks-actions
Build commit: 9ec5616 (9ec5616fdf20bd5f5381043eccffbe26506a80ff)

@onur-ozkan onur-ozkan force-pushed the use-precompiled-rustc-by-default branch from 7099a13 to 731c8eb Compare April 4, 2024 17:31
@onur-ozkan
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Apr 4, 2024

⌛ Trying commit 731c8eb with merge 3a8cf09...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 4, 2024
…default, r=<try>

prefer precompiled rustc for x86_64-gnu

*-to be filled-*

blocker for rust-lang#119899
r? ghost
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 3, 2024
…default, r=<try>

use precompiled rustc for non-dist builders

Makes non-dist builders to use precompiled CI rustc by default if they are available for the target triple.

As we are going to make `rust.download-rustc=if-unchanged` default option with rust-lang#119899, we need to make sure `if-unchanged` logic never breaks and works as expected.

As an addition, this will significantly improve the build times on CI when there's no change on the compiler.

blocker for rust-lang#119899

try-job: aarch64-apple
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Sep 3, 2024

💔 Test failed - checks-actions

We recently had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast")
when building tools that rely on rustc. This patch fixes that by copying those files as required.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
@onur-ozkan onur-ozkan force-pushed the use-precompiled-rustc-by-default branch from fba9fa3 to adcacca Compare September 3, 2024 18:10
@onur-ozkan
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Sep 3, 2024

⌛ Trying commit adcacca with merge 114fe2d...

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 3, 2024
…default, r=<try>

use precompiled rustc for non-dist builders

Makes non-dist builders to use precompiled CI rustc by default if they are available for the target triple.

As we are going to make `rust.download-rustc=if-unchanged` default option with rust-lang#119899, we need to make sure `if-unchanged` logic never breaks and works as expected.

As an addition, this will significantly improve the build times on CI when there's no change on the compiler.

blocker for rust-lang#119899

try-job: aarch64-apple
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Sep 3, 2024

💔 Test failed - checks-actions

Signed-off-by: onur-ozkan <work@onurozkan.dev>
@onur-ozkan
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 3, 2024
…default, r=<try>

use precompiled rustc for non-dist builders

Makes non-dist builders to use precompiled CI rustc by default if they are available for the target triple.

As we are going to make `rust.download-rustc=if-unchanged` default option with rust-lang#119899, we need to make sure `if-unchanged` logic never breaks and works as expected.

As an addition, this will significantly improve the build times on CI when there's no change on the compiler.

blocker for rust-lang#119899

try-job: aarch64-apple
@bors
Copy link
Contributor

bors commented Sep 3, 2024

⌛ Trying commit e45198c with merge bd48ac3...

@bors
Copy link
Contributor

bors commented Sep 3, 2024

☀️ Try build successful - checks-actions
Build commit: bd48ac3 (bd48ac3dbdf24021f4952e830cf3024dd6ac2598)

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 5, 2024
…=Kobzol

copy rustc rustlib artifacts from ci-rustc

We recently (since rust-lang#129311) had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required.

r? Kobzol

Blocker for rust-lang#122709
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 5, 2024
…er, r=Kobzol

use the bootstrapped compiler for `test-float-parse` test

Fixes rust-lang#122709 (comment).

Blocker for rust-lang#122709
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 5, 2024
…=Kobzol

copy rustc rustlib artifacts from ci-rustc

We recently (since rust-lang#129311) had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required.

r? Kobzol

Blocker for rust-lang#122709
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 5, 2024
…er, r=Kobzol

use the bootstrapped compiler for `test-float-parse` test

Fixes rust-lang#122709 (comment).

Blocker for rust-lang#122709
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 5, 2024
…=Kobzol

copy rustc rustlib artifacts from ci-rustc

We recently (since rust-lang#129311) had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required.

r? Kobzol

Blocker for rust-lang#122709
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 5, 2024
…er, r=Kobzol

use the bootstrapped compiler for `test-float-parse` test

Fixes rust-lang#122709 (comment).

Blocker for rust-lang#122709
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 5, 2024
…=Kobzol

copy rustc rustlib artifacts from ci-rustc

We recently (since rust-lang#129311) had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required.

r? Kobzol

Blocker for rust-lang#122709
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Sep 6, 2024
…=Kobzol

copy rustc rustlib artifacts from ci-rustc

We recently (since rust-lang#129311) had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required.

r? Kobzol

Blocker for rust-lang#122709
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Sep 6, 2024
…=Kobzol

copy rustc rustlib artifacts from ci-rustc

We recently (since rust-lang#129311) had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required.

r? Kobzol

Blocker for rust-lang#122709
@bors bors closed this in 57d85fa Sep 6, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Sep 6, 2024
Rollup merge of rust-lang#129943 - onur-ozkan:test-float-parse-compiler, r=Kobzol

use the bootstrapped compiler for `test-float-parse` test

Fixes rust-lang#122709 (comment).

Blocker for rust-lang#122709
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Sep 6, 2024
Rollup merge of rust-lang#129942 - onur-ozkan:building-rustc-tools, r=Kobzol

copy rustc rustlib artifacts from ci-rustc

We recently (since rust-lang#129311) had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required.

r? Kobzol

Blocker for rust-lang#122709
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-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

None yet

6 participants