[llvm] [llvm][docs] Update the project and runtimes lists (PR #109788)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 05:20:52 PDT 2024


https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/109788

And add a note to explain which variable to prefer if the project can go in both.

>From f80f85adccc35fd70ec51d4351a6da5606505685 Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at linaro.org>
Date: Tue, 24 Sep 2024 13:19:07 +0100
Subject: [PATCH] [llvm][docs] Update the project and runtimes lists

And add a note to explain which variable to prefer
if the project can go in both.
---
 llvm/docs/CMake.rst | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index b5adb22d8f33b1..72632a5dd8f1cd 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_PROJECTS``. 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