[PATCH] D108890: Document LLVM_ENABLE_RUNTIMES

Sylvestre Ledru via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 29 09:56:48 PDT 2021


sylvestre.ledru updated this revision to Diff 369326.
sylvestre.ledru added a comment.

Take in account the comments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108890

Files:
  llvm/docs/CMake.rst


Index: llvm/docs/CMake.rst
===================================================================
--- llvm/docs/CMake.rst
+++ llvm/docs/CMake.rst
@@ -477,6 +477,15 @@
   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;libcxx;libcxxabi;libunwind;openmp``
+
 **LLVM_ENABLE_RTTI**:BOOL
   Build LLVM with run-time type information. Defaults to OFF.
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108890.369326.patch
Type: text/x-patch
Size: 871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210829/4c7751c4/attachment.bin>


More information about the llvm-commits mailing list