[PATCH] D100729: [Docs] Mention LLVM_EXPERIMENTAL_TARGETS_TO_BUILD variable in CMake.rst

Shivam Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 18 10:58:07 PDT 2021


xgupta created this revision.
xgupta added reviewers: thakis, myhsu.
Herald added a subscriber: mgorny.
xgupta requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Beginners might not aware of this variable and wanted to try a new experimental target.

Although this variable mention in Writing a Backend Documentation. But it becomes easy to search when listed in cmake.rst doc where most variables are listed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100729

Files:
  llvm/docs/CMake.rst


Index: llvm/docs/CMake.rst
===================================================================
--- llvm/docs/CMake.rst
+++ llvm/docs/CMake.rst
@@ -225,6 +225,12 @@
   targets. Case-sensitive. Defaults to *all*. Example:
   ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``.
 
+**LLVM_EXPERIMENTAL_TARGETS_TO_BUILD**:STRING
+  Semicolon-separated list of experimental targets to build and linked into 
+  llvm. This will build the experimental target without needing to add it 
+  to the list of all the targets. Once the target becomes stable, It can be 
+  added to the LLVM_ALL_TARGETS variable located in the main CMakeLists.txt.
+  
 **LLVM_BUILD_TOOLS**:BOOL
   Build LLVM tools. Defaults to ON. Targets for building each tool are generated
   in any case. You can build a tool separately by invoking its target. For


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100729.338387.patch
Type: text/x-patch
Size: 814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210418/bf58d935/attachment.bin>


More information about the llvm-commits mailing list