Skip to content

Commit f59d270

Browse files
authored
[cmake] Ignore pstl in LLVM_ENABLE_PROJECTS (#146070)
This should fix the premerge-monolithic-linux bot. This can be removed after the next build master restart.
1 parent 302ed97 commit f59d270

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

llvm/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,14 @@ set(LLVM_ENABLE_PROJECTS "" CACHE STRING
130130
if( LLVM_ENABLE_PROJECTS STREQUAL "all" )
131131
set( LLVM_ENABLE_PROJECTS ${LLVM_ALL_PROJECTS})
132132
endif()
133+
134+
# The pstl project was removed. Ignore it to pacify certain buildbots.
135+
list(FIND LLVM_ENABLE_PROJECTS "pstl" FOUND_INDEX)
136+
if(NOT "${FOUND_INDEX}" STREQUAL "-1")
137+
message(WARNING "The pstl project has been removed and will not be built")
138+
list(REMOVE_ITEM LLVM_ENABLE_PROJECTS "pstl")
139+
endif()
140+
133141
foreach(proj ${LLVM_ENABLE_PROJECTS})
134142
if (NOT proj STREQUAL "llvm" AND NOT "${proj}" IN_LIST LLVM_KNOWN_PROJECTS)
135143
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?")

0 commit comments

Comments
 (0)