Offload cmake cleanups - #162196
Merged
Merged
Offload cmake cleanups#162196
Conversation
Collaborator
|
This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp. |
Collaborator
|
|
This comment has been minimized.
This comment has been minimized.
ZuseZ4
force-pushed
the
offload-cmake-cleanups
branch
from
September 2, 2026 15:36
9d399d1 to
341d294
Compare
Kobzol
reviewed
Sep 2, 2026
Member
|
@rustbot author |
ZuseZ4
force-pushed
the
offload-cmake-cleanups
branch
from
September 15, 2026 18:42
341d294 to
808b60c
Compare
Collaborator
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
Originally introduced in the Enzyme build and coppied around since, but without effect for a few years by now.
ZuseZ4
force-pushed
the
offload-cmake-cleanups
branch
from
September 15, 2026 20:57
808b60c to
d5a0a16
Compare
Member
|
Thanks, looks good from the bootstrap side now. @bors try jobs=dist-x86_64-linux You can r=me if the job returns green (also you can check the built artifacts, if you want). |
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Sep 16, 2026
Offload cmake cleanups try-job: dist-x86_64-linux
Contributor
Member
Author
|
@bors r=Kobzol rollup |
Contributor
rust-bors Bot
pushed a commit
that referenced
this pull request
Sep 16, 2026
Rollup of 10 pull requests Successful merges: - #156216 (implement const Iterator for Range) - #160697 (rustc: Tweak the effect of `--jobs` on frontend parallelism) - #162748 (Enable LLVM Thin LTO for LoongArch64) - #162769 (Yeet the `DeepRegionResolver` (earlier called `OpportunisticRegionResolver`)) - #162794 (Simplify `ast::UseTreeKind`) - #162800 (Cleanups related to RefDecodable) - #162826 (wasm: fix ABI for enums with integer layout and ZST fields) - #159359 ([rustc_public] Enhance PassMode API) - #162196 (Offload cmake cleanups) - #162818 (Add regression test for malformed RPITIT bound ICE with the new solver)
rust-bors Bot
pushed a commit
that referenced
this pull request
Sep 16, 2026
Rollup merge of #162196 - ZuseZ4:offload-cmake-cleanups, r=Kobzol Offload cmake cleanups r? kobzol Split out of #161565, which requires (minor) LLVM changes. These cleanups are valuable on their own already, and shouldn't be blocked. So let's land it, before it get's stale with all the refactoring going on ^^ Copied the disclaimer: I used an llm to implement the fixes, since I still don't like cmake. I confirm that on a high-level these are the right fixes as far as I can tell, and I reviewed/refactored it.
pull Bot
pushed a commit
to LeeeeeeM/miri
that referenced
this pull request
Sep 17, 2026
Rollup of 10 pull requests Successful merges: - rust-lang/rust#156216 (implement const Iterator for Range) - rust-lang/rust#160697 (rustc: Tweak the effect of `--jobs` on frontend parallelism) - rust-lang/rust#162748 (Enable LLVM Thin LTO for LoongArch64) - rust-lang/rust#162769 (Yeet the `DeepRegionResolver` (earlier called `OpportunisticRegionResolver`)) - rust-lang/rust#162794 (Simplify `ast::UseTreeKind`) - rust-lang/rust#162800 (Cleanups related to RefDecodable) - rust-lang/rust#162826 (wasm: fix ABI for enums with integer layout and ZST fields) - rust-lang/rust#159359 ([rustc_public] Enhance PassMode API) - rust-lang/rust#162196 (Offload cmake cleanups) - rust-lang/rust#162818 (Add regression test for malformed RPITIT bound ICE with the new solver)
pull Bot
pushed a commit
to asukaminato0721/rust-clippy
that referenced
this pull request
Sep 17, 2026
Rollup of 10 pull requests Successful merges: - rust-lang/rust#156216 (implement const Iterator for Range) - rust-lang/rust#160697 (rustc: Tweak the effect of `--jobs` on frontend parallelism) - rust-lang/rust#162748 (Enable LLVM Thin LTO for LoongArch64) - rust-lang/rust#162769 (Yeet the `DeepRegionResolver` (earlier called `OpportunisticRegionResolver`)) - rust-lang/rust#162794 (Simplify `ast::UseTreeKind`) - rust-lang/rust#162800 (Cleanups related to RefDecodable) - rust-lang/rust#162826 (wasm: fix ABI for enums with integer layout and ZST fields) - rust-lang/rust#159359 ([rustc_public] Enhance PassMode API) - rust-lang/rust#162196 (Offload cmake cleanups) - rust-lang/rust#162818 (Add regression test for malformed RPITIT bound ICE with the new solver)
github-actions Bot
pushed a commit
to rust-lang/rustc-dev-guide
that referenced
this pull request
Sep 17, 2026
Rollup of 10 pull requests Successful merges: - rust-lang/rust#156216 (implement const Iterator for Range) - rust-lang/rust#160697 (rustc: Tweak the effect of `--jobs` on frontend parallelism) - rust-lang/rust#162748 (Enable LLVM Thin LTO for LoongArch64) - rust-lang/rust#162769 (Yeet the `DeepRegionResolver` (earlier called `OpportunisticRegionResolver`)) - rust-lang/rust#162794 (Simplify `ast::UseTreeKind`) - rust-lang/rust#162800 (Cleanups related to RefDecodable) - rust-lang/rust#162826 (wasm: fix ABI for enums with integer layout and ZST fields) - rust-lang/rust#159359 ([rustc_public] Enhance PassMode API) - rust-lang/rust#162196 (Offload cmake cleanups) - rust-lang/rust#162818 (Add regression test for malformed RPITIT bound ICE with the new solver)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
r? kobzol
Split out of #161565, which requires (minor) LLVM changes.
These cleanups are valuable on their own already, and shouldn't be blocked. So let's land it, before it get's stale with all the refactoring going on ^^
Copied the disclaimer: I used an llm to implement the fixes, since I still don't like cmake.
I confirm that on a high-level these are the right fixes as far as I can tell, and I reviewed/refactored it.