Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions projects/openmp.llvm.org/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,21 @@ build:
python.org: ~3.11
perl.org: "*"
script:
- cmake -S openmp -B build/shared $ARGS
# llvm 23 deleted openmp's legacy standalone cmake mode: configuring the
# `openmp` directory directly is now a hard FATAL_ERROR telling you to go
# through the runtimes driver instead (openmp/CMakeLists.txt:23). the
# runtimes build only marks compiler-rt as STANDALONE, so openmp's guard
# stays quiet there. every -D we pass is a plain cache entry, so it reaches
# the openmp subproject unchanged either way.
- run: SRC="-S openmp"
if: <23
- run: SRC="-S runtimes -DLLVM_ENABLE_RUNTIMES=openmp"
if: ">=23"

- cmake $SRC -B build/shared $ARGS
- cmake --build build/shared
- cmake --install build/shared
- cmake -S openmp -B build/static -DLIBOMP_ENABLE_SHARED=OFF $ARGS
- cmake $SRC -B build/static -DLIBOMP_ENABLE_SHARED=OFF $ARGS
- cmake --build build/static
- cmake --install build/static
env:
Expand Down
Loading