[llvm] f91647a - [llvm][release] Build openmp as runtime in test-release.sh (#212111)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 00:57:00 PDT 2026


Author: Rainer Orth
Date: 2026-07-27T09:56:56+02:00
New Revision: f91647a732298131e86fc4f465b20b80105f35d6

URL: https://github.com/llvm/llvm-project/commit/f91647a732298131e86fc4f465b20b80105f35d6
DIFF: https://github.com/llvm/llvm-project/commit/f91647a732298131e86fc4f465b20b80105f35d6.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`.

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-commits mailing list