Skip to content

Commit 4d45913

Browse files
DavidSpickettnikic
andauthored
[llvm][docs] Update the project and runtimes lists (#109788)
And add a note to explain which variable to prefer if the project can go in both. --------- Co-authored-by: Nikita Popov <github@npopov.com>
1 parent c93e294 commit 4d45913

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

llvm/docs/CMake.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,12 @@ enabled sub-projects. Nearly all of these variable names begin with
577577

578578
The full list is:
579579

580-
``clang;clang-tools-extra;cross-project-tests;libc;libclc;lld;lldb;openmp;polly;pstl``
580+
``bolt;clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;lld;lldb;mlir;openmp;polly;pstl``
581+
582+
.. note::
583+
Some projects listed here can also go in ``LLVM_ENABLE_RUNTIMES``. They
584+
should only appear in one of the two lists. If a project is a valid possiblity
585+
for both, prefer putting it in ``LLVM_ENABLE_RUNTIMES``.
581586

582587
**LLVM_ENABLE_RTTI**:BOOL
583588
Build LLVM with run-time type information. Defaults to OFF.
@@ -594,7 +599,7 @@ enabled sub-projects. Nearly all of these variable names begin with
594599

595600
The full list is:
596601

597-
``compiler-rt;libc;libcxx;libcxxabi;libunwind;openmp``
602+
``libc;libunwind;libcxxabi;pstl;libcxx;compiler-rt;openmp;llvm-libgcc;offload``
598603

599604
To enable all of them, use:
600605

0 commit comments

Comments
 (0)