pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/parallel/openmp openmp: Fix build on NetBSD/i386
details: https://anonhg.NetBSD.org/pkgsrc/rev/4790476e2b96
branches: trunk
changeset: 769869:4790476e2b96
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Nov 21 14:52:35 2021 +0000
description:
openmp: Fix build on NetBSD/i386
diffstat:
parallel/openmp/distinfo | 3 +-
parallel/openmp/patches/patch-runtime_src_kmp__runtime.cpp | 16 ++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 436bfbe78c3c -r 4790476e2b96 parallel/openmp/distinfo
--- a/parallel/openmp/distinfo Sun Nov 21 14:20:49 2021 +0000
+++ b/parallel/openmp/distinfo Sun Nov 21 14:52:35 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 11:10:37 nia Exp $
+$NetBSD: distinfo,v 1.10 2021/11/21 14:52:35 ryoon Exp $
BLAKE2s (openmp-12.0.1.src.tar.xz) = 48c277b7353fe289c61941895a5f99ec2af8e65dae3ac9bf654281f4d61edd72
SHA512 (openmp-12.0.1.src.tar.xz) = 554edf032995cf80cfb6c878b26510b6c4df09e6bd4813934ea523ff8e121900a91ec59c3d83ee0ba390fb83bcaf6d137f7f6019958b444bdfe6a2b35c1c8d08
Size (openmp-12.0.1.src.tar.xz) = 1081308 bytes
+SHA1 (patch-runtime_src_kmp__runtime.cpp) = e8de0521b604205cb11a5cf6fdfc1968d7f09126
diff -r 436bfbe78c3c -r 4790476e2b96 parallel/openmp/patches/patch-runtime_src_kmp__runtime.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/openmp/patches/patch-runtime_src_kmp__runtime.cpp Sun Nov 21 14:52:35 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-runtime_src_kmp__runtime.cpp,v 1.1 2021/11/21 14:52:35 ryoon Exp $
+
+* Support NetBSD/i386 and other 32-bit architectures.
+
+--- runtime/src/kmp_runtime.cpp.orig 2021-06-28 16:23:38.000000000 +0000
++++ runtime/src/kmp_runtime.cpp
+@@ -8399,7 +8399,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_FREEBSD || KMP_OS_WINDOWS || KMP_OS_HURD || \
++ KMP_OS_NETBSD
+
+ // basic tuning
+
Home |
Main Index |
Thread Index |
Old Index