[PATCH] D142404: [docs] Prefer setting LLVM_HOST_TRIPLE instead of LLVM_DEFAULT_TARGET_TRIPLE and LLVM_TARGET_ARCH
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 14:22:38 PST 2023
beanz added a comment.
Neither the current doc, nor the proposed change are really always right, and they are doing different things.
The point of the existing option is to tell you how to setup the default target (the target implied when no target is specified) to be the native architecture of your cross target rather than the host (which is what it defaults to).
In theory, `LLVM_HOST_TRIPLE` should be inferable from the build configuration environment so you should never need to specify it explicitly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142404/new/
https://reviews.llvm.org/D142404
More information about the llvm-commits
mailing list