[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:24:08 PDT 2023


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

None

>From d7f6765837805f417a5f6faf665fa83219d9feea 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..69329cedd100b5c 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