-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Only dist llvm-objcopy
if llvm tools are enabled
#134240
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense, thanks!
Actually just one question. @cuviper in #131405 we had to
Will changing this for the dist flow prove problematic if the dist defaults + configurations we currently use combined regress that behavior? I think we definitely should be guarding the dist flow here, like your change does, I just wanted to double-check what our default behavior is. |
The default still has llvm tools enabled, so you have to explicitly opt out -- I think that's fine for the issue you mention, although it doesn't look like we have any fallback on macOS if you built without it: rust/compiler/rustc_codegen_ssa/src/back/link.rs Lines 1110 to 1111 in 4847d6a
For my part, I want to opt out in Linux distro builds, and it's not used there anyway. |
Right, that sounds reasonable to me. Thanks! @bors r+ rollup |
Only dist `llvm-objcopy` if llvm tools are enabled This uses the same condition that rust-lang#132720 added in the compilation phase. r? `@jieyouxu`
Only dist `llvm-objcopy` if llvm tools are enabled This uses the same condition that rust-lang#132720 added in the compilation phase. r? ```@jieyouxu```
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#134181 (Tweak multispan rendering to reduce output length) - rust-lang#134209 (validate `--skip` and `--exclude` paths) - rust-lang#134231 (rustdoc-search: fix mismatched path when parent re-exported twice) - rust-lang#134236 (crashes: more tests v2) - rust-lang#134240 (Only dist `llvm-objcopy` if llvm tools are enabled) - rust-lang#134244 (rustc_borrowck: Stop suggesting the invalid syntax `&mut raw const`) - rust-lang#134251 (A bunch of cleanups (part 2)) - rust-lang#134256 (Use a more precise span in placeholder_type_error_diag) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#134240 - cuviper:dist-llvm-tools, r=jieyouxu Only dist `llvm-objcopy` if llvm tools are enabled This uses the same condition that rust-lang#132720 added in the compilation phase. r? ``@jieyouxu``
It's already on 1.85-beta, but you can still consider 1.84-stable. @rustbot label -beta-nominated |
This comment was marked as outdated.
This comment was marked as outdated.
@rustbot label +stable-accepted |
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 07db9583c0e72c976746a920ec987f38bbc16fda) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 07db9583c0e72c976746a920ec987f38bbc16fda) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 07db9583c0e72c976746a920ec987f38bbc16fda) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: b48da420aa7cc9d31e0ccf278bbd9652ab702b61) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: f07e4633751870e6b8031f72c4d32dafb06f046d) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: f07e4633751870e6b8031f72c4d32dafb06f046d) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: ea42bb8064bd302cf0c3416b9f402357fb8a560a) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: ea42bb8064bd302cf0c3416b9f402357fb8a560a) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: ea42bb8064bd302cf0c3416b9f402357fb8a560a) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: ea42bb8064bd302cf0c3416b9f402357fb8a560a) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: c1602d105cb502b891c3d557c72bbe8f9231bb9c) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 64c1fd9a8639ed8b5b4aed1f9a1f8754b5f0e391) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: f053696fae783ffbdfc1bb41bc168dfa8ae9fdf9) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 8eca614a89f06435f6af8a8f93c6db58264ebbd4) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 8eca614a89f06435f6af8a8f93c6db58264ebbd4) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 2eb952d839e72c24a4180a57631c77910a0da980) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
…tools" >From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 2eb952d839e72c24a4180a57631c77910a0da980) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajanwindriver.com> Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
…tools" >From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 2eb952d839e72c24a4180a57631c77910a0da980) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajanwindriver.com> Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
…tools" >From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 2eb952d839e72c24a4180a57631c77910a0da980) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajanwindriver.com> Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
…tools" >From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 (From OE-Core rev: 2eb952d839e72c24a4180a57631c77910a0da980) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajanwindriver.com> Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
>From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) rust-lang/rust@cce6f03 (download-rustc) rust-lang/rust@38f0c09 (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: rust-lang/rust#134240 Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (adapted from oe-core commit 2eb952d839e72c24a4180a57631c77910a0da980) Signed-off-by: Scott Murray <scott.murray@konsulko.com>
This uses the same condition that #132720 added in the compilation phase.
r? @jieyouxu