[PATCH] D12639: [compiler-rt] Fix cross build when multiple targets are enabled.

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 08:30:49 PDT 2015


gberry added a comment.

I share your concern about using COMPILER_RT_TEST_TARGET_ARCH, but unless I'm missing something that seems to be how the compiler-rt cmake build is set up.

For some background, I'm trying to build compiler-rt on x86_64-linux targeting aarch64-linux, with a toolchain that is configured to support both X86 and AArch64 targets.
Without my change, the compiler-rt cmake config thinks I'm trying to build for x86, no matter how I set up my compiler & flag cmake variables.


http://reviews.llvm.org/D12639





More information about the llvm-commits mailing list