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

Dylan McKay via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 1 00:39:39 PST 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGec15b7307f54: Add 'LLVM_DEFAULT_TARGET_TRIPLE' to the documented list of CMake variables (authored by dylanmckay).

Changed prior to commit:
  https://reviews.llvm.org/D96014?vs=321380&id=390942#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96014

Files:
  llvm/docs/CMake.rst


Index: llvm/docs/CMake.rst
===================================================================
--- llvm/docs/CMake.rst
+++ llvm/docs/CMake.rst
@@ -366,6 +366,12 @@
   $CMAKE_INSTALL_PREFIX/Toolchains containing an xctoolchain directory which can
   be used to override the default system tools.
 
+**LLVM_DEFAULT_TARGET_TRIPLE**:STRING
+  LLVM target to use for code generation when no target is explicitly specified.
+  It defaults to "host", meaning that it shall pick the architecture
+  of the machine where LLVM is being built. If you are building a cross-compiler,
+  set it to the target triple of your desired architecture.
+
 **LLVM_DOXYGEN_QCH_FILENAME**:STRING
   The filename of the Qt Compressed Help file that will be generated when
   ``-DLLVM_ENABLE_DOXYGEN=ON`` and


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96014.390942.patch
Type: text/x-patch
Size: 783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211201/51470f18/attachment.bin>


More information about the llvm-commits mailing list