pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/parallel/openmp



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Nov 21 14:52:35 UTC 2021

Modified Files:
        pkgsrc/parallel/openmp: distinfo
Added Files:
        pkgsrc/parallel/openmp/patches: patch-runtime_src_kmp__runtime.cpp

Log Message:
openmp: Fix build on NetBSD/i386


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/parallel/openmp/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/parallel/openmp/patches/patch-runtime_src_kmp__runtime.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/parallel/openmp/distinfo
diff -u pkgsrc/parallel/openmp/distinfo:1.9 pkgsrc/parallel/openmp/distinfo:1.10
--- pkgsrc/parallel/openmp/distinfo:1.9 Tue Oct 26 11:10:37 2021
+++ pkgsrc/parallel/openmp/distinfo     Sun Nov 21 14:52:35 2021
@@ -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

Added files:

Index: pkgsrc/parallel/openmp/patches/patch-runtime_src_kmp__runtime.cpp
diff -u /dev/null pkgsrc/parallel/openmp/patches/patch-runtime_src_kmp__runtime.cpp:1.1
--- /dev/null   Sun Nov 21 14:52:35 2021
+++ pkgsrc/parallel/openmp/patches/patch-runtime_src_kmp__runtime.cpp   Sun Nov 21 14:52:35 2021
@@ -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