[llvm] a637b8e - [Docs] Mention LLVM_EXPERIMENTAL_TARGETS_TO_BUILD variable in CMake.rst
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 19 21:01:05 PDT 2021
Author: xgupta
Date: 2021-04-20T09:27:57+05:30
New Revision: a637b8eac069a078d58e21743f97a509f96bce70
URL: https://github.com/llvm/llvm-project/commit/a637b8eac069a078d58e21743f97a509f96bce70
DIFF: https://github.com/llvm/llvm-project/commit/a637b8eac069a078d58e21743f97a509f96bce70.diff
LOG: [Docs] Mention LLVM_EXPERIMENTAL_TARGETS_TO_BUILD variable in CMake.rst
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.
Reviewed By: myhsu
Differential Revision: https://reviews.llvm.org/D100729
Added:
Modified:
llvm/docs/CMake.rst
Removed:
################################################################################
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index bb821b417ad9..589b09f28281 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -225,6 +225,11 @@ LLVM-specific variables
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 it to add to the
+ list of all the targets available in the LLVM's 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
More information about the llvm-commits
mailing list