[PATCH] D22370: Respect LLVM_HOST_TRIPLE when manually specified

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 06:13:50 PDT 2016


beanz added a comment.

From config-ix.cmake:

  get_host_triple(LLVM_INFERRED_HOST_TRIPLE)
  
  set(LLVM_HOST_TRIPLE "${LLVM_INFERRED_HOST_TRIPLE}" CACHE STRING
      "Host on which LLVM binaries will run")

If `LLVM_HOST_TRIPLE` is set manually on the command line the value read from get_host_triple will not overwrite it because the `FORCE` option isn't specified on the set.

Meaning, this change isn't actually needed to do what you're trying to do anyways. What is needed, is fixing the bugs in get_host_triple, so that it doesn't call config.guess on a Windows system.


Repository:
  rL LLVM

https://reviews.llvm.org/D22370





More information about the llvm-commits mailing list