[llvm] [cmake] Ignore pstl in LLVM_ENABLE_PROJECTS (PR #146070)

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 27 05:54:36 PDT 2025


https://github.com/rnk created https://github.com/llvm/llvm-project/pull/146070

This should fix the premerge-monolithic-linux bot. This can be removed after the next build master restart.

>From 9966d6db3a1bf6ac7b5b5df92c93653de231f2b9 Mon Sep 17 00:00:00 2001
From: Reid Kleckner <rnk at google.com>
Date: Fri, 27 Jun 2025 06:52:19 -0600
Subject: [PATCH] [cmake] Ignore pstl in LLVM_ENABLE_PROJECTS

This should fix the premerge-monolithic-linux bot. This can be removed
after the next build master restart.
---
 llvm/CMakeLists.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 4b9e70fad2152..f8e7f36d72e58 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -130,6 +130,14 @@ set(LLVM_ENABLE_PROJECTS "" CACHE STRING
 if( LLVM_ENABLE_PROJECTS STREQUAL "all" )
   set( LLVM_ENABLE_PROJECTS ${LLVM_ALL_PROJECTS})
 endif()
+
+# The pstl project was removed. Ignore it to pacify certain buildbots.
+list(FIND LLVM_ENABLE_PROJECTS "pstl" FOUND_INDEX)
+if(NOT "${FOUND_INDEX}" STREQUAL "-1")
+  message(WARNING "The pstl project has been removed and will not be built")
+  list(REMOVE_ITEM LLVM_ENABLE_PROJECTS "pstl")
+endif()
+
 foreach(proj ${LLVM_ENABLE_PROJECTS})
   if (NOT proj STREQUAL "llvm" AND NOT "${proj}" IN_LIST LLVM_KNOWN_PROJECTS)
      MESSAGE(FATAL_ERROR "${proj} isn't a known project: ${LLVM_KNOWN_PROJECTS}. Did you mean to enable it as a runtime in LLVM_ENABLE_RUNTIMES?")



More information about the llvm-commits mailing list