Skip to content

Commit 5d47ea8

Browse files
DavidSpickettkrishna2803
authored andcommitted
[llvm][docs] Tell people how to list runtime names
This list was already out of date, so I think it's better we tell them how to get CMake to tell them the list.
1 parent 74fa498 commit 5d47ea8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/docs/CMake.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -615,11 +615,11 @@ enabled sub-projects. Nearly all of these variable names begin with
615615
.. note::
616616
The list should not have duplicates with ``LLVM_ENABLE_PROJECTS``.
617617

618-
The full list is:
619-
620-
``libc;libunwind;libcxxabi;libcxx;compiler-rt;openmp;llvm-libgcc;offload``
618+
To list all possible runtimes, include an invalid name. For example
619+
``-DLLVM_ENABLE_RUNTIMES=notaruntime``. The resulting CMake error will list
620+
the possible runtime names.
621621

622-
To enable all of them, use:
622+
To enable all of the runtimes, use:
623623

624624
``LLVM_ENABLE_RUNTIMES=all``
625625

0 commit comments

Comments
 (0)