[llvm] 029b9b6 - [llvm][docs] Improve formatting of ENABLE_PROJECTS/RUNTIMES description
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 05:05:15 PDT 2024
Author: David Spickett
Date: 2024-09-24T13:04:44+01:00
New Revision: 029b9b611d8becf04f4c525ab2b70e956b4b186d
URL: https://github.com/llvm/llvm-project/commit/029b9b611d8becf04f4c525ab2b70e956b4b186d
DIFF: https://github.com/llvm/llvm-project/commit/029b9b611d8becf04f4c525ab2b70e956b4b186d.diff
LOG: [llvm][docs] Improve formatting of ENABLE_PROJECTS/RUNTIMES description
* Add line breaks so it's clear what should be passed to CMake.
* Make the note into an RST note block.
* Fix a couple of markdown style plain text markers.
Added:
Modified:
llvm/docs/CMake.rst
Removed:
################################################################################
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 838447f483e510..b5adb22d8f33b1 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -571,10 +571,12 @@ enabled sub-projects. Nearly all of these variable names begin with
Semicolon-separated list of projects to build, or *all* for building all
(clang, lldb, lld, polly, etc) projects. This flag assumes that projects
are checked out side-by-side and not nested, i.e. clang needs to be in
- parallel of llvm instead of nested in `llvm/tools`. This feature allows
+ parallel of llvm instead of nested in ``llvm/tools``. This feature allows
to have one build for only LLVM and another for clang+llvm using the same
source checkout.
+
The full list is:
+
``clang;clang-tools-extra;cross-project-tests;libc;libclc;lld;lldb;openmp;polly;pstl``
**LLVM_ENABLE_RTTI**:BOOL
@@ -586,10 +588,16 @@ enabled sub-projects. Nearly all of these variable names begin with
It will build the builtins separately from the other runtimes to preserve
correct dependency ordering. If you want to build the runtimes using a system
compiler, see the `libc++ documentation <https://libcxx.llvm.org/BuildingLibcxx.html>`_.
- Note: the list should not have duplicates with `LLVM_ENABLE_PROJECTS`.
+
+ .. note::
+ The list should not have duplicates with ``LLVM_ENABLE_PROJECTS``.
+
The full list is:
+
``compiler-rt;libc;libcxx;libcxxabi;libunwind;openmp``
+
To enable all of them, use:
+
``LLVM_ENABLE_RUNTIMES=all``
**LLVM_ENABLE_SPHINX**:BOOL
More information about the llvm-commits
mailing list