From 51478e235cb6e6b240c14e9c1f7902006df55ee8 Mon Sep 17 00:00:00 2001 From: Havard Eidnes Date: Thu, 23 Jan 2025 17:14:20 +0000 Subject: [PATCH] In openmp, recognize the NetBSD/powerpc ports. --- openmp/runtime/src/kmp_platform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openmp/runtime/src/kmp_platform.h b/openmp/runtime/src/kmp_platform.h index 9c2215140467d..8801c4b13d543 100644 --- a/openmp/runtime/src/kmp_platform.h +++ b/openmp/runtime/src/kmp_platform.h @@ -164,6 +164,9 @@ #define KMP_ARCH_PPC_XCOFF 1 #undef KMP_ARCH_PPC #define KMP_ARCH_PPC 1 +#elif defined(__powerpc__) && defined(KMP_OS_NETBSD) +#undef KMP_ARCH_PPC +#define KMP_ARCH_PPC 1 #elif defined __ARM64_ARCH_8_32__ #undef KMP_ARCH_AARCH64_32 #define KMP_ARCH_AARCH64_32 1