[llvm] [libclc] Deprecate LLVM_ENABLE_PROJECTS in favor of LLVM_ENABLE_RUNTIMES (PR #124709)
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 22:59:17 PST 2025
https://github.com/petrhosek created https://github.com/llvm/llvm-project/pull/124709
We plan to make this a hard error in the LLVM 21 release.
Link #124013
>From d685373cb58605a724ee1ba70d7f1935ed72ec87 Mon Sep 17 00:00:00 2001
From: Petr Hosek <phosek at google.com>
Date: Tue, 28 Jan 2025 06:57:16 +0000
Subject: [PATCH] [libclc] Deprecate LLVM_ENABLE_PROJECTS in favor of
LLVM_ENABLE_RUNTIMES
We plan to make this a hard error in the LLVM 21 release.
Link #124013
---
llvm/CMakeLists.txt | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index c9ff3696e22d69..ef59415bb079b4 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -164,6 +164,13 @@ if ("compiler-rt" IN_LIST LLVM_ENABLE_PROJECTS)
"https://compiler-rt.llvm.org/ for building the runtimes.")
endif()
+if ("libclc" IN_LIST LLVM_ENABLE_PROJECTS)
+ message(WARNING "Using LLVM_ENABLE_PROJECTS=libclc is deprecated now, and will "
+ "become a fatal error in the LLVM 21 release. Please use "
+ "-DLLVM_ENABLE_RUNTIMES=libclc or see the instructions at "
+ "https://libclc.llvm.org/ for building the runtimes.")
+endif()
+
# Select the runtimes to build
#
# As we migrate runtimes to using the bootstrapping build, the set of default runtimes
More information about the llvm-commits
mailing list