[PATCH] D131051: [CMake] Fix runtimes cross-compilation when using LLVM_USE_LINKER
Sergei Barannikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 11:10:56 PDT 2023
barannikov88 added a comment.
This still does not look right to me.
Shouldn't PASSTHROUGH_PREFIXES have just been removed in this invocation?
I want to cross build runtimes leaving the linker choice to the compiler driver, and not to set it on the command line to override the default [strange] choice of host linker.
Why would we ever want to use the linker that targets //host// to build runtimes for a //target//?
If someone wants to use host linker to build runtimes, they should specify it manually, not the opposite.
Do my words make sense or I'm talking nonsense? I'm quite new to runtimes build.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131051/new/
https://reviews.llvm.org/D131051
More information about the llvm-commits
mailing list