[PATCH] D134972: [CMake] Only set LLVM_DEFAULT_TARGET_TRIPLE to LLVM_HOST_TRIPLE when native target is enabled
Xiang Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 10 17:38:27 PDT 2022
python3kgae added a comment.
In D134972#3848302 <https://reviews.llvm.org/D134972#3848302>, @smeenai wrote:
> Unfortunately I'm not set up for AMDGPU, so I can't test that locally. Just to confirm, `check-llvm` works for you if `LLVM_DEFAULT_TARGET_TRIPLE` is empty, but not if it's set to a triple corresponding to an enabled backend?
Yes. check-llvm works if `LLVM_DEFAULT_TARGET_TRIPLE` is empty. ( except 2 OrcV2Examples in this patch).
Then set it to amdgcn-amd-amdhsa get lot of fails.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134972/new/
https://reviews.llvm.org/D134972
More information about the llvm-commits
mailing list