Skip to content

Consolidate LLVM skip in check builds in bootstrap - #161853

Open
Kobzol wants to merge 4 commits into
rust-lang:mainfrom
Kobzol:bootstrap-llvm-env
Open

Consolidate LLVM skip in check builds in bootstrap#161853
Kobzol wants to merge 4 commits into
rust-lang:mainfrom
Kobzol:bootstrap-llvm-env

Conversation

@Kobzol

@Kobzol Kobzol commented Aug 27, 2026

Copy link
Copy Markdown
Member

Before it was distributed amongst two places, which made it harder to follow the logic, and the RUST_CHECK logic was also applied for anything being built, even though it is only relevant for rustc itself. This PR centralizes the handling, and also enables it for doc builds.

So ./x doc compiler now doesn't require building LLVM 🎉

r? jieyouxu

@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-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Aug 27, 2026

@jieyouxu jieyouxu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, you can r=me after (or before) #161290

View changes since this review

@jieyouxu

Copy link
Copy Markdown
Member

@bors rollup=never note="bootstrap llvm skip logic"

@Kobzol

Kobzol commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

@bors r=jieyouxu

Let's try to land this and see if there aren't any issues.

@rust-bors

rust-bors Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 9bff2d7 has been approved by jieyouxu

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Aug 27, 2026
@rust-log-analyzer

This comment has been minimized.

@Kobzol

Kobzol commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

@bors r-

@rust-bors rust-bors Bot 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 27, 2026
@rust-bors

rust-bors Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved.

View changes since this unapproval

@Kobzol

Kobzol commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

Surprise surprise, I didn't run bootstrap tests.

[build] llvm <host>
[clippy] rustc 0 <host> -> rustc 1 <host>
");
.render_steps(), @"[clippy] rustc 0 <host> -> rustc 1 <host>");

@jieyouxu jieyouxu Aug 27, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And also don't have to build llvm for stage 1 clippy/fix on compiler tree, which makes sense

View changes since the review

@Kobzol

Kobzol commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

@bors r=jieyouxu

@rust-bors

rust-bors Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 45f342d has been approved by jieyouxu

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 27, 2026
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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants