[llvm-branch-commits] [llvm] 84d5da8 - [llvm][release] Build openmp as runtime in test-release.sh (#212111)
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jul 28 03:17:04 PDT 2026
Author: Rainer Orth
Date: 2026-07-28T12:16:53+02:00
New Revision: 84d5da8930ee836397d936dff03c8bb43b67d0ac
URL: https://github.com/llvm/llvm-project/commit/84d5da8930ee836397d936dff03c8bb43b67d0ac
DIFF: https://github.com/llvm/llvm-project/commit/84d5da8930ee836397d936dff03c8bb43b67d0ac.diff
LOG: [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)
Added:
Modified:
llvm/utils/release/test-release.sh
Removed:
################################################################################
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