aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2025-08-07 10:34:01 +0100
committerGitHub <noreply@github.com>2025-08-07 10:34:01 +0100
commit6cd6de5bc0c8b09b3a252bfb8a62870c1cdede4c (patch)
treeb5be502d45fa2d5c7e8c06fbab5c98e886d2429f
parentc869ef6ebc4882978252c3a98279928b31b58135 (diff)
downloadllvm-6cd6de5bc0c8b09b3a252bfb8a62870c1cdede4c.zip
llvm-6cd6de5bc0c8b09b3a252bfb8a62870c1cdede4c.tar.gz
llvm-6cd6de5bc0c8b09b3a252bfb8a62870c1cdede4c.tar.bz2
[llvm][cmake] Remove version number from runtimes in PROJECTS warnings (#152457)
Judging from the reaction to https://github.com/llvm/llvm-project/pull/152302, we are not ready to make this a fatal error. Remove the specific version number, and update the libc message to match the others' wording.
-rw-r--r--llvm/CMakeLists.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 4c70b98..e9a6faa 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -187,28 +187,29 @@ if ("lldb" IN_LIST LLVM_ENABLE_PROJECTS)
endif ()
if ("libc" IN_LIST LLVM_ENABLE_PROJECTS)
- message(WARNING "Using LLVM_ENABLE_PROJECTS=libc is deprecated. Please use "
+ message(WARNING "Using LLVM_ENABLE_PROJECTS=libc is deprecated now, and will "
+ "become a fatal error in a future release. Please use "
"-DLLVM_ENABLE_RUNTIMES=libc or see the instructions at "
"https://libc.llvm.org/ for building the runtimes.")
endif()
if ("compiler-rt" IN_LIST LLVM_ENABLE_PROJECTS)
message(WARNING "Using LLVM_ENABLE_PROJECTS=compiler-rt is deprecated now, and will "
- "become a fatal error in the LLVM 21 release. Please use "
+ "become a fatal error in a future release. Please use "
"-DLLVM_ENABLE_RUNTIMES=compiler-rt or see the instructions at "
"https://compiler-rt.llvm.org/ for building the runtimes.")
endif()
if ("offload" IN_LIST LLVM_ENABLE_PROJECTS)
message(WARNING "Using LLVM_ENABLE_PROJECTS=offload is deprecated now, and will "
- "become a fatal error in the LLVM 21 release. Please use "
+ "become a fatal error in a future release. Please use "
"-DLLVM_ENABLE_RUNTIMES=offload or see the instructions at "
"https://openmp.llvm.org/ for building the runtimes.")
endif()
if ("openmp" IN_LIST LLVM_ENABLE_PROJECTS)
message(WARNING "Using LLVM_ENABLE_PROJECTS=openmp is deprecated now, and will "
- "become a fatal error in the LLVM 21 release. Please use "
+ "become a fatal error in a future release. Please use "
"-DLLVM_ENABLE_RUNTIMES=openmp or see the instructions at "
"https://openmp.llvm.org/ for building the runtimes.")
endif()
@@ -221,7 +222,7 @@ 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 "
+ "become a fatal error in a future release. Please use "
"-DLLVM_ENABLE_RUNTIMES=libclc or see the instructions at "
"https://libclc.llvm.org/ for building the runtimes.")
endif()