[PATCH] D12454: Better lit.cfg "native" detection
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 28 17:38:52 PDT 2015
probinson added a comment.
In http://reviews.llvm.org/D12454#235697, @chapuni wrote:
> Since LLVM(and clang) is "the native cross compiler", it shouldn't depend on host architecture in most cases.
> I wonder there might be any cases that requires (b).
Yes. Various tools (including llc and others) will use the host-triple as the default-target-triple, but for non-executable tests (like most of Clang/LLVM tests) it is sufficient to have the host-arch included in targets_to_build.
This is exactly the problem that I had: Mehdi added the "native" condition to DebugInfo tests, which disabled them for my cross-compiler (running on x86_64 Windows and targeting x86_64 PS4). That is not acceptable.
Repository:
rL LLVM
http://reviews.llvm.org/D12454
More information about the llvm-commits
mailing list