[llvm-branch-commits] [llvm] release/21.x: [llvm-offload-wrapper] Fix Triple and OpenMP handling (#167580) (PR #172151)

Manuel Drehwald via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Dec 14 05:59:01 PST 2025


ZuseZ4 wrote:

> This, I believe, comes from the Rust team wanting to more easily use this utility.

Yes indeed, I had asked for it for our rustc GPU efforts in https://github.com/rust-lang/rust-project-goals/issues/109
This PR had helped me with replacing the `clang-linker-wrapper` invocation, since in Cargo we don't generally want to call (additional) LLVM binaries. However, Joseph mentioned how I can work around it on the rust side. I didn't get to test it yet, but (worst case) we can vendor the fix for a few months on the Rust side till we get to update to LLVM-22, which will simplify our compilation pipeline anyway by quite a bit.

Since you seem a bit concerned about the timeline, I guess either fix on the Rust side is preferred, so we can go with that.

https://github.com/llvm/llvm-project/pull/172151


More information about the llvm-branch-commits mailing list