[PATCH] D22370: Respect LLVM_HOST_TRIPLE when manually specified

Tamas Berghammer via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 03:21:06 PDT 2016


tberghammer added a comment.

We are currently specifying LLVM_HOST_TRIPLE explicitly when we cross compile lldb-server from Linux to Android (all architecture) to match the triple of the host the compiled lldb-server will run on because we call llvm::sys::getProcessTriple() to determine the triple of the current system what is depending on LLVM_HOST_TRIPLE.

My understanding is that LLVM_HOST_TRIPLE should be the triple of the system you are planning to run LLVM on so it have to be specified explicitly (unless we figure it out based on the cross compiler specified)


Repository:
  rL LLVM

https://reviews.llvm.org/D22370





More information about the llvm-commits mailing list