[llvm] 4d45913 - [llvm][docs] Update the project and runtimes lists (#109788)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 02:17:04 PDT 2024


Author: David Spickett
Date: 2024-09-25T10:16:58+01:00
New Revision: 4d459136f50bb931987fd7dbcd29564ee9cc13ae

URL: https://github.com/llvm/llvm-project/commit/4d459136f50bb931987fd7dbcd29564ee9cc13ae
DIFF: https://github.com/llvm/llvm-project/commit/4d459136f50bb931987fd7dbcd29564ee9cc13ae.diff

LOG: [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 at npopov.com>

Added: 
    

Modified: 
    llvm/docs/CMake.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index b5adb22d8f33b1..321bae48594cf9 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -577,7 +577,12 @@ enabled sub-projects. Nearly all of these variable names begin with
 
   The full list is:
 
-  ``clang;clang-tools-extra;cross-project-tests;libc;libclc;lld;lldb;openmp;polly;pstl``
+  ``bolt;clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;lld;lldb;mlir;openmp;polly;pstl``
+
+  .. note::
+    Some projects listed here can also go in ``LLVM_ENABLE_RUNTIMES``. They
+    should only appear in one of the two lists. If a project is a valid possiblity
+    for both, prefer putting it in ``LLVM_ENABLE_RUNTIMES``.
 
 **LLVM_ENABLE_RTTI**:BOOL
   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
 
   The full list is:
 
-  ``compiler-rt;libc;libcxx;libcxxabi;libunwind;openmp``
+  ``libc;libunwind;libcxxabi;pstl;libcxx;compiler-rt;openmp;llvm-libgcc;offload``
 
   To enable all of them, use:
 


        


More information about the llvm-commits mailing list