[llvm-commits] [PATCH] ExecutionEngine/JIT: Run on host if target != host, as rework of PR11060.

NAKAMURA Takumi geek4civic at gmail.com
Wed Jul 18 02:52:40 PDT 2012


autoconf: Re-introduce LLVM_HOSTTRIPLE since r143500.

cmake: Add LLVM_HOSTTRIPLE. For now, it is same as TARGET_TRIPLE.

ExecutionEngine/TargetSelect.cpp: Override default triple as LLVM_HOSTTRIPLE.
---
 llvm/autoconf/configure.ac                   |    2 ++
 llvm/cmake/config-ix.cmake                   |    1 +
 llvm/configure                               |    5 +++++
 llvm/include/llvm/Config/config.h.cmake      |    3 +++
 llvm/include/llvm/Config/config.h.in         |    3 +++
 llvm/include/llvm/Config/llvm-config.h.cmake |    3 +++
 llvm/include/llvm/Config/llvm-config.h.in    |    3 +++
 llvm/lib/ExecutionEngine/TargetSelect.cpp    |    2 +-
 8 files changed, 21 insertions(+), 1 deletions(-)

---
This patchset helps "configure --target=non-host".
For example, http://lab.llvm.org:8011/builders/clang-x86_64-darwin11-cross-mingw32
(--target=i686-pc-mingw32 --host=--build=x86_64-darwin)

Confirmed with;
  "--target=i686-pc-mingw32",
  "--build=i686-redhat-linux CC='gcc -m32' CXX='g++ -m32' "
  and cmake.

...Takumi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ExecutionEngine-JIT-Run-on-host-if-target-host-a.patch.txt
Type: text/x-patch
Size: 3929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120718/82eb250b/attachment.bin>


More information about the llvm-commits mailing list