[llvm] [LLVM] Remove 'libclc' from ALL projects (PR #179485)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 3 07:39:25 PST 2026


https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/179485

Summary:
We should only build `libclc` as a runtime in the future. There's
already a warning for putting it in the projects list so it shouldn't be
included in all the projects.


>From bf8c750422e51dca7a9e9ea7f91e3347b4b74a30 Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Tue, 3 Feb 2026 09:37:41 -0600
Subject: [PATCH] [LLVM] Remove 'libclc' from ALL projects

Summary:
We should only build `libclc` as a runtime in the future. There's
already a warning for putting it in the projects list so it shouldn't be
included in all the projects.
---
 llvm/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 80170e4a6e844..da655fb6e3e67 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -104,7 +104,7 @@ endif()
 # This allows an easy way of setting up a build directory for llvm and another
 # one for llvm+clang+... using the same sources.
 # These projects will be included when "all" is included in LLVM_ENABLE_PROJECTS.
-set(LLVM_ALL_PROJECTS "bolt;clang;clang-tools-extra;cross-project-tests;libclc;lld;lldb;mlir;polly")
+set(LLVM_ALL_PROJECTS "bolt;clang;clang-tools-extra;cross-project-tests;lld;lldb;mlir;polly")
 
 # The libc and compiler-rt projects are not part of LLVM_ALL_PROJECTS, because
 # it is preferred to use LLVM_ENABLE_RUNTIMES for them instead.



More information about the llvm-commits mailing list