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: jperkin
Date: Tue Dec 3 11:27:02 UTC 2024
Modified Files:
pkgsrc/parallel/openmp: distinfo
Added Files:
pkgsrc/parallel/openmp/patches: patch-runtime_src_z__Linux__util.cpp
Log Message:
openmp: SunOS uses pthread_attr_get_np() too.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/parallel/openmp/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/parallel/openmp/patches/patch-runtime_src_z__Linux__util.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.20 pkgsrc/parallel/openmp/distinfo:1.21
--- pkgsrc/parallel/openmp/distinfo:1.20 Sat Jul 6 15:45:08 2024
+++ pkgsrc/parallel/openmp/distinfo Tue Dec 3 11:27:01 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2024/07/06 15:45:08 adam Exp $
+$NetBSD: distinfo,v 1.21 2024/12/03 11:27:01 jperkin Exp $
BLAKE2s (cmake-18.1.8.src.tar.xz) = 77d99e6cf6210475bda352d49bd823ecd428ffd92c4b5bc0147583e1f2628c64
SHA512 (cmake-18.1.8.src.tar.xz) = e02243b491f9e688db28d7b53270fcf87debf09d3c95b136a7c7b96e26890de68712c60a1e85f5a448a95ad8c81f2d8ae77047780822443bbe39f1a9e6211007
@@ -10,3 +10,4 @@ BLAKE2s (runtimes-18.1.8.src.tar.xz) = f
SHA512 (runtimes-18.1.8.src.tar.xz) = 6ddf33676a1f4b69111a077e2b4bec951433f9e6d84ba2f1d578be373690e0abd8fccd1104bf34355c8fb9613c002c720b53fa536be4a923dca7e2d7abd1614c
Size (runtimes-18.1.8.src.tar.xz) = 6788 bytes
SHA1 (patch-runtime_src_kmp__os.h) = a5b0e015bf21f284468931fb093956752f93700e
+SHA1 (patch-runtime_src_z__Linux__util.cpp) = 45e50748b788f2e46a5cfeaf371074acd90cd21d
Added files:
Index: pkgsrc/parallel/openmp/patches/patch-runtime_src_z__Linux__util.cpp
diff -u /dev/null pkgsrc/parallel/openmp/patches/patch-runtime_src_z__Linux__util.cpp:1.1
--- /dev/null Tue Dec 3 11:27:02 2024
+++ pkgsrc/parallel/openmp/patches/patch-runtime_src_z__Linux__util.cpp Tue Dec 3 11:27:02 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-runtime_src_z__Linux__util.cpp,v 1.1 2024/12/03 11:27:02 jperkin Exp $
+
+SunOS uses pthread_attr_get_np() too.
+
+--- runtime/src/z_Linux_util.cpp.orig 2024-12-03 11:24:49.291803482 +0000
++++ runtime/src/z_Linux_util.cpp
+@@ -460,7 +460,7 @@ static kmp_int32 __kmp_set_stack_info(in
+ /* Fetch the real thread attributes */
+ status = pthread_attr_init(&attr);
+ KMP_CHECK_SYSFAIL("pthread_attr_init", status);
+-#if KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD
++#if KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || KMP_OS_SOLARIS
+ status = pthread_attr_get_np(pthread_self(), &attr);
+ KMP_CHECK_SYSFAIL("pthread_attr_get_np", status);
+ #else
Home |
Main Index |
Thread Index |
Old Index