[LLVMdev] sys::getHostTriple failed to recognize ARM correctly

Eric Christopher echristo at apple.com
Mon Aug 8 15:24:52 PDT 2011


On Jul 29, 2011, at 6:42 AM, 陳韋任 wrote:

>  Currently, I handcode "Arch = "arm"" to make native compiled LLVM
> pass most test cases [2]. Is there a better way to make sys::getHostTriple
> handle this situation?

Two ways:

a) Add support for armv7l to llvm :)
b) Pass --host=<arm arch you want>-… when you configure.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110808/0af5abd4/attachment.html>


More information about the llvm-dev mailing list