Skip to content

Commit a7d1e33

Browse files
committed
Build and ship OpenMP with LLVM releases
Fixes #135021 Suggested-by: Kawashima Takahiro <[email protected]>
1 parent 75ca835 commit a7d1e33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/cmake/caches/Release.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ if (${CMAKE_HOST_SYSTEM_NAME} MATCHES "Linux")
3636
list(APPEND DEFAULT_PROJECTS "bolt")
3737
endif()
3838

39+
set (DEFAULT_RUNTIMES "compiler-rt;libcxx")
40+
3941
# Don't build flang on Darwin due to:
4042
# https://github.com/llvm/llvm-project/issues/160546
4143
if (NOT ${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin")
4244
list(APPEND DEFAULT_PROJECTS "flang")
45+
list(APPEND DEFAULT_RUNTIMES "openmp;flang-rt")
4346
endif()
4447

45-
set (DEFAULT_RUNTIMES "compiler-rt;libcxx")
4648
if (NOT WIN32)
4749
list(APPEND DEFAULT_RUNTIMES "libcxxabi" "libunwind")
4850
endif()

0 commit comments

Comments
 (0)