pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/parallel/pocl pocl: add links to upstream pull request...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b29c3079d91
branches:  trunk
changeset: 454391:0b29c3079d91
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jun 10 12:26:26 2021 +0000

description:
pocl: add links to upstream pull requests for patches

cpuinfo: check for fopen() failure when opening sysfs nodes to avoid segfault
https://github.com/pocl/pocl/pull/948

pocl_timing: fix detection of Unix monotonic clocks
https://github.com/pocl/pocl/pull/949

Fix detection of dlopen()/libdl
https://github.com/pocl/pocl/pull/950

diffstat:

 parallel/pocl/distinfo                                       |  18 ++++++------
 parallel/pocl/patches/patch-CMakeLists.txt                   |   5 ++-
 parallel/pocl/patches/patch-config.h.in.cmake                |   5 ++-
 parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c     |   5 ++-
 parallel/pocl/patches/patch-lib_CL_devices_common.c          |   5 ++-
 parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c         |   4 ++-
 parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c    |   5 ++-
 parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c |   5 ++-
 parallel/pocl/patches/patch-lib_CL_pocl__timing.c            |   3 +-
 9 files changed, 32 insertions(+), 23 deletions(-)

diffs (132 lines):

diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/distinfo
--- a/parallel/pocl/distinfo    Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/distinfo    Thu Jun 10 12:26:26 2021 +0000
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.2 2021/06/10 11:18:06 nia Exp $
+$NetBSD: distinfo,v 1.3 2021/06/10 12:26:26 nia Exp $
 
 SHA1 (pocl-1.7.tar.gz) = 7f28546ac51d89ba699cc5adce1ddf2e91bdf230
 RMD160 (pocl-1.7.tar.gz) = 75555c802bf133298d615f5c146174dc0f959a72
 SHA512 (pocl-1.7.tar.gz) = 23bb82b25a222186c001b2ed413f26253e1e0e16518e98c95173f51491e15d107e6ab1b334ffd490b41199743267d9ad64882a22fea327e17ec9604f9847fc38
 Size (pocl-1.7.tar.gz) = 1577676 bytes
-SHA1 (patch-CMakeLists.txt) = 314c492b03d66ab373cc59c926fe3d27aeb3a5a3
-SHA1 (patch-config.h.in.cmake) = 974fad1f19516ef0b73f7db5b3948e677f4aaf98
-SHA1 (patch-lib_CL_devices_basic_basic.c) = 9110d868a305cefc2e19fd7d7482f6ce2b8a6164
-SHA1 (patch-lib_CL_devices_common.c) = c276aa967a1cc79b2bd6029b287b887bdb2b0010
-SHA1 (patch-lib_CL_devices_cpuinfo.c) = 70c4948c4948134e05d165ca0e8f6bd6fa68754b
+SHA1 (patch-CMakeLists.txt) = d722efb971d9ce35fd7dfe2e238cbce3660e1eb8
+SHA1 (patch-config.h.in.cmake) = 8f15bf68b3a2c2af00bc8b72f52b383182db6168
+SHA1 (patch-lib_CL_devices_basic_basic.c) = 0220af7515718d44eea38d3a14844c68f75acab4
+SHA1 (patch-lib_CL_devices_common.c) = 44717bf410b948f9b6cd72cbea83dd9214faaa5c
+SHA1 (patch-lib_CL_devices_cpuinfo.c) = 30d8a1103d9eef6fb5b89c1b604dd953828b605b
 SHA1 (patch-lib_CL_devices_devices.c) = 17a5bb001086befdf88452b7e1126d2f5f4b1fc1
-SHA1 (patch-lib_CL_devices_hsa_pocl-hsa.c) = b7b4798b6f47f4d60a914f45ba64fe8448accdb9
-SHA1 (patch-lib_CL_devices_pthread_pthread.c) = afc0ab5544300d141d1fbfe5b7fe18af281365fa
-SHA1 (patch-lib_CL_pocl__timing.c) = 93b83613973d8128cd5b93375cadd2f6702de7ba
+SHA1 (patch-lib_CL_devices_hsa_pocl-hsa.c) = 27acb108cb1e12e4ac0c82e497916f841edc8cb1
+SHA1 (patch-lib_CL_devices_pthread_pthread.c) = 9f169b9a0a1d70ef3efc52dcd7b47a70c364d5d2
+SHA1 (patch-lib_CL_pocl__timing.c) = 6f82ad0eaf22d511745b47bf26f3024f1a25cf6f
diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/patches/patch-CMakeLists.txt
--- a/parallel/pocl/patches/patch-CMakeLists.txt        Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/patches/patch-CMakeLists.txt        Thu Jun 10 12:26:26 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2021/06/10 09:57:40 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2021/06/10 12:26:26 nia Exp $
 
-Most Unix-like OSes don't need libdl...
+Fix detection of dlopen
+https://github.com/pocl/pocl/pull/950
 
 --- CMakeLists.txt.orig        2021-05-19 08:12:19.000000000 +0000
 +++ CMakeLists.txt
diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/patches/patch-config.h.in.cmake
--- a/parallel/pocl/patches/patch-config.h.in.cmake     Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/patches/patch-config.h.in.cmake     Thu Jun 10 12:26:26 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-config.h.in.cmake,v 1.1 2021/06/10 09:57:40 nia Exp $
+$NetBSD: patch-config.h.in.cmake,v 1.2 2021/06/10 12:26:26 nia Exp $
 
-dlfcn.h is a separate thing to libdl and should be detected separately.
+Fix detection of dlopen
+https://github.com/pocl/pocl/pull/950
 
 --- config.h.in.cmake.orig     2021-05-19 08:12:19.000000000 +0000
 +++ config.h.in.cmake
diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c
--- a/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c  Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c  Thu Jun 10 12:26:26 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-lib_CL_devices_basic_basic.c,v 1.1 2021/06/10 09:57:40 nia Exp $
+$NetBSD: patch-lib_CL_devices_basic_basic.c,v 1.2 2021/06/10 12:26:26 nia Exp $
 
-Detect dlfcn.h (portable) instead of libdl (not portable).
+Fix detection of dlopen
+https://github.com/pocl/pocl/pull/950
 
 --- lib/CL/devices/basic/basic.c.orig  2021-05-19 08:12:19.000000000 +0000
 +++ lib/CL/devices/basic/basic.c
diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/patches/patch-lib_CL_devices_common.c
--- a/parallel/pocl/patches/patch-lib_CL_devices_common.c       Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/patches/patch-lib_CL_devices_common.c       Thu Jun 10 12:26:26 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-lib_CL_devices_common.c,v 1.1 2021/06/10 09:57:40 nia Exp $
+$NetBSD: patch-lib_CL_devices_common.c,v 1.2 2021/06/10 12:26:26 nia Exp $
 
-Test for dlfcn.h instead of libdl.
+Fix detection of dlopen
+https://github.com/pocl/pocl/pull/950
 
 --- lib/CL/devices/common.c.orig       2021-05-19 08:12:19.000000000 +0000
 +++ lib/CL/devices/common.c
diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c
--- a/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c      Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c      Thu Jun 10 12:26:26 2021 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-lib_CL_devices_cpuinfo.c,v 1.1 2021/06/10 11:18:06 nia Exp $
+$NetBSD: patch-lib_CL_devices_cpuinfo.c,v 1.2 2021/06/10 12:26:26 nia Exp $
 
 Do not segfault if /sys/bus/pci/devices/0000:00:00.0/vendor does not exist.
 
+https://github.com/pocl/pocl/pull/948
+
 --- lib/CL/devices/cpuinfo.c.orig      2021-05-19 08:12:19.000000000 +0000
 +++ lib/CL/devices/cpuinfo.c
 @@ -416,9 +416,12 @@ pocl_cpuinfo_get_cpu_name_and_vendor(cl_
diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c
--- a/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c Thu Jun 10 12:26:26 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-lib_CL_devices_hsa_pocl-hsa.c,v 1.1 2021/06/10 09:57:40 nia Exp $
+$NetBSD: patch-lib_CL_devices_hsa_pocl-hsa.c,v 1.2 2021/06/10 12:26:26 nia Exp $
 
-Detect dlfcn.h (portable) instead of libdl (not portable).
+Fix detection of dlopen
+https://github.com/pocl/pocl/pull/950
 
 --- lib/CL/devices/hsa/pocl-hsa.c.orig 2021-05-19 08:12:19.000000000 +0000
 +++ lib/CL/devices/hsa/pocl-hsa.c
diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c
--- a/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c      Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c      Thu Jun 10 12:26:26 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-lib_CL_devices_pthread_pthread.c,v 1.1 2021/06/10 09:57:40 nia Exp $
+$NetBSD: patch-lib_CL_devices_pthread_pthread.c,v 1.2 2021/06/10 12:26:26 nia Exp $
 
-Detect dlfcn.h (portable) instead of libdl (not portable).
+Fix detection of dlopen
+https://github.com/pocl/pocl/pull/950
 
 --- lib/CL/devices/pthread/pthread.c.orig      2021-05-19 08:12:19.000000000 +0000
 +++ lib/CL/devices/pthread/pthread.c
diff -r fb2d46df7f35 -r 0b29c3079d91 parallel/pocl/patches/patch-lib_CL_pocl__timing.c
--- a/parallel/pocl/patches/patch-lib_CL_pocl__timing.c Thu Jun 10 11:48:43 2021 +0000
+++ b/parallel/pocl/patches/patch-lib_CL_pocl__timing.c Thu Jun 10 12:26:26 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-lib_CL_pocl__timing.c,v 1.1 2021/06/10 09:57:40 nia Exp $
+$NetBSD: patch-lib_CL_pocl__timing.c,v 1.2 2021/06/10 12:26:26 nia Exp $
 
 NetBSD does not have CLOCK_UPTIME_FAST.
+https://github.com/pocl/pocl/pull/949
 
 --- lib/CL/pocl_timing.c.orig  2021-05-19 08:12:19.000000000 +0000
 +++ lib/CL/pocl_timing.c



Home | Main Index | Thread Index | Old Index