[PATCH] D96014: Add 'LLVM_DEFAULT_TARGET_TRIPLE' to the documented list of CMake variables

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 08:30:37 PST 2021


probinson accepted this revision.
probinson added a comment.
This revision is now accepted and ready to land.

Seems reasonable, provided you correct the language to be about building a cross-compiler rather than actually cross-compiling.



================
Comment at: llvm/docs/CMake.rst:352
+  It defaults to "host", meaning that it shall pick the architecture
+  of the machine where LLVM is being built. If you are cross-compiling, set it
+  to the target triple of your desired architecture.
----------------
If you are building a cross-compiler, ...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96014/new/

https://reviews.llvm.org/D96014



More information about the llvm-commits mailing list