aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2021-09-01 08:45:15 +0200
committerSylvestre Ledru <sylvestre@debian.org>2021-09-01 08:45:40 +0200
commitd396d09fc2278bfe34b9db2ee27ecfd470149da8 (patch)
tree5d5dbed4d1c83407773293ce6636a1e6a52e4ed5
parentc5729f2e638a792759a53c28fbe39a22ede86943 (diff)
downloadllvm-d396d09fc2278bfe34b9db2ee27ecfd470149da8.zip
llvm-d396d09fc2278bfe34b9db2ee27ecfd470149da8.tar.gz
llvm-d396d09fc2278bfe34b9db2ee27ecfd470149da8.tar.bz2
Document LLVM_ENABLE_RUNTIMES
Reviewed By: phosek, MaskRay Differential Revision: https://reviews.llvm.org/D108890
-rw-r--r--llvm/docs/CMake.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 74630f3..b906d23 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -477,6 +477,18 @@ enabled sub-projects. Nearly all of these variable names begin with
The full list is:
``clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;openmp;parallel-libs;polly;pstl``
+**LLVM_ENABLE_RUNTIMES**:STRING
+ Build libc++, libc++abi or other projects using that a just-built compiler.
+ This is the correct way to build libc++ when putting together a toolchain.
+ It will build the builtins separately from the other runtimes to preserve
+ correct dependency ordering.
+ 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_RTTI**:BOOL
Build LLVM with run-time type information. Defaults to OFF.