[llvm-branch-commits] [openmp] 9d0ca25 - [OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD (#70527)
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Oct 31 01:01:11 PDT 2023
Author: Brad Smith
Date: 2023-10-31T08:59:13+01:00
New Revision: 9d0ca259eed64c547b0a28fc7c5c46b9ca66ce9f
URL: https://github.com/llvm/llvm-project/commit/9d0ca259eed64c547b0a28fc7c5c46b9ca66ce9f
DIFF: https://github.com/llvm/llvm-project/commit/9d0ca259eed64c547b0a28fc7c5c46b9ca66ce9f.diff
LOG: [OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD (#70527)
Fixing ```#error "Unknown or unsupported OS"```
(cherry picked from commit 223852aecf3f01cea21c40ea128a26f6a194345d)
Added:
Modified:
openmp/runtime/src/kmp_runtime.cpp
Removed:
################################################################################
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index e55798df610cef9..c63bd1c63bfd08c 100644
--- 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
More information about the llvm-branch-commits
mailing list