[llvm-commits] [patch] cmake make it possible to set LLVM_NATIVE_ARCH when cross compiling.

Xerxes RĂ„nby xerxes at zafena.se
Wed Aug 26 04:05:51 PDT 2009


During cross compilation of llvm using cmake it are desirable to be able
to set the LLVM_NATIVE_ARCH so that the correct JIT can get linked in
and be used by the final cross compiled binarys.

This patch enables the cmake option -DLLVM_NATIVE_ARCH=ARM
If the value host are used then the cmake system will autodetect the
setting from the host system.

I have forced MSVC builds to use X86 as default.

Ok to push?

Cheers
Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overridable_LLVM_NATIVE_ARCH.patch
Type: text/x-patch
Size: 1574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090826/9c945838/attachment.bin>


More information about the llvm-commits mailing list