[llvm-branch-commits] [llvm] release/23.x: [llvm][release] Build openmp as runtime in test-release.sh (#212111) (PR #212363)
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jul 28 03:17:04 PDT 2026
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/212363
>From 84d5da8930ee836397d936dff03c8bb43b67d0ac Mon Sep 17 00:00:00 2001
From: Rainer Orth <ro at gcc.gnu.org>
Date: Mon, 27 Jul 2026 09:56:56 +0200
Subject: [PATCH] [llvm][release] Build openmp as runtime in test-release.sh
(#212111)
`test_release.sh` tries to build `openmp` as a project, which breaks the
build:
```
CMake Error at CMakeLists.txt:155 (message):
Support for the LLVM_ENABLE_PROJECTS=openmp build mode has been removed.
Please switch to the bootstrapping build
cmake -S <llvm-project>/llvm -B build -DLLVM_ENABLE_PROJECTS=clang -DLLVM_ENABLE_RUNTIMES=openmp
or to the runtimes default build
cmake -S <llvm-project>/runtimes -B build -DLLVM_ENABLE_RUNTIMES=openmp
```
This patch switches it to a runtime to match.
Tested on `x86_64-pc-linux-gnu`.
(cherry picked from commit f91647a732298131e86fc4f465b20b80105f35d6)
---
llvm/utils/release/test-release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 41240621d4cf5..20fbf83ce90a9 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -292,7 +292,7 @@ if [ $do_libs = "yes" ]; then
fi
fi
if [ $do_openmp = "yes" ]; then
- projects="${projects:+$projects;}openmp"
+ runtimes="${runtimes:+$runtimes;}openmp"
fi
if [ $do_bolt = "yes" ]; then
projects="${projects:+$projects;}bolt"
More information about the llvm-branch-commits
mailing list