[Openmp-commits] [openmp] [OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD (PR #70527)

Brad Smith via Openmp-commits openmp-commits at lists.llvm.org
Fri Oct 27 17:52:17 PDT 2023


https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/70527

>From f2081ab2d757164af0b868fc9f8e81f32c6478c9 Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Fri, 27 Oct 2023 17:29:51 -0400
Subject: [PATCH] [OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD

---
 openmp/runtime/src/kmp_runtime.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index 9bf5105d134e82e..e83c09383769a51 100644
--- a/openmp/runtime/src/kmp_runtime.cpp
+++ b/openmp/runtime/src/kmp_runtime.cpp
@@ -8925,7 +8925,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 Openmp-commits mailing list