[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 16:02:29 PDT 2022


python3kgae added a comment.

In D134972#3848193 <https://reviews.llvm.org/D134972#3848193>, @smeenai wrote:

> Hmm, I'm unable to repro that. On an x86-64 Linux machine, I set `LLVM_TARGETS_TO_BUILD` to just `AArch64` and `LLVM_DEFAULT_TARGET_TRIPLE` to `aarch64-linux-gnu`. `check-llvm` and `check-clang` both worked for me. What values were you trying?

I'm building DirectX target which is still experimental.
But I tested amdgcn-amd-amdhsa too, it also 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