projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8046f7
)
[OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD (#70527)
author
Brad Smith
<brad@comstyle.com>
Sat, 28 Oct 2023 02:53:24 +0000
(22:53 -0400)
committer
Tobias Hieta
<tobias@hieta.se>
Tue, 31 Oct 2023 07:59:13 +0000
(08:59 +0100)
Fixing ```#error "Unknown or unsupported OS"```
(cherry picked from commit
223852aecf3f01cea21c40ea128a26f6a194345d
)
openmp/runtime/src/kmp_runtime.cpp
patch
|
blob
|
history
diff --git
a/openmp/runtime/src/kmp_runtime.cpp
b/openmp/runtime/src/kmp_runtime.cpp
index
e55798d
..
c63bd1c
100644
(file)
--- a/
openmp/runtime/src/kmp_runtime.cpp
+++ b/
openmp/runtime/src/kmp_runtime.cpp
@@
-8858,7
+8858,8
@@
__kmp_determine_reduction_method(
#elif KMP_ARCH_X86 || KMP_ARCH_ARM || KMP_ARCH_AARCH || KMP_ARCH_MIPS
-#if KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS || KMP_OS_HURD
+#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
+ KMP_OS_OPENBSD || KMP_OS_WINDOWS || KMP_OS_HURD
// basic tuning