pkgsrc-Changes archive

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

CVS commit: pkgsrc/parallel/pocl



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jun 10 12:26:26 UTC 2021

Modified Files:
        pkgsrc/parallel/pocl: distinfo
        pkgsrc/parallel/pocl/patches: patch-CMakeLists.txt
            patch-config.h.in.cmake patch-lib_CL_devices_basic_basic.c
            patch-lib_CL_devices_common.c patch-lib_CL_devices_cpuinfo.c
            patch-lib_CL_devices_hsa_pocl-hsa.c
            patch-lib_CL_devices_pthread_pthread.c patch-lib_CL_pocl__timing.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/parallel/pocl/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/parallel/pocl/patches/patch-CMakeLists.txt \
    pkgsrc/parallel/pocl/patches/patch-config.h.in.cmake \
    pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c \
    pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_common.c \
    pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c \
    pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c \
    pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c \
    pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__timing.c

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

Modified files:

Index: pkgsrc/parallel/pocl/distinfo
diff -u pkgsrc/parallel/pocl/distinfo:1.2 pkgsrc/parallel/pocl/distinfo:1.3
--- pkgsrc/parallel/pocl/distinfo:1.2   Thu Jun 10 11:18:06 2021
+++ pkgsrc/parallel/pocl/distinfo       Thu Jun 10 12:26:26 2021
@@ -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

Index: pkgsrc/parallel/pocl/patches/patch-CMakeLists.txt
diff -u pkgsrc/parallel/pocl/patches/patch-CMakeLists.txt:1.1 pkgsrc/parallel/pocl/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/parallel/pocl/patches/patch-CMakeLists.txt:1.1       Thu Jun 10 09:57:40 2021
+++ pkgsrc/parallel/pocl/patches/patch-CMakeLists.txt   Thu Jun 10 12:26:26 2021
@@ -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
Index: pkgsrc/parallel/pocl/patches/patch-config.h.in.cmake
diff -u pkgsrc/parallel/pocl/patches/patch-config.h.in.cmake:1.1 pkgsrc/parallel/pocl/patches/patch-config.h.in.cmake:1.2
--- pkgsrc/parallel/pocl/patches/patch-config.h.in.cmake:1.1    Thu Jun 10 09:57:40 2021
+++ pkgsrc/parallel/pocl/patches/patch-config.h.in.cmake        Thu Jun 10 12:26:26 2021
@@ -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
Index: pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c
diff -u pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c:1.1 pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c:1.2
--- pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c:1.1 Thu Jun 10 09:57:40 2021
+++ pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c     Thu Jun 10 12:26:26 2021
@@ -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
Index: pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_common.c
diff -u pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_common.c:1.1 pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_common.c:1.2
--- pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_common.c:1.1      Thu Jun 10 09:57:40 2021
+++ pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_common.c  Thu Jun 10 12:26:26 2021
@@ -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
Index: pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c
diff -u pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c:1.1 pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c:1.2
--- pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c:1.1     Thu Jun 10 11:18:06 2021
+++ pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c Thu Jun 10 12:26:26 2021
@@ -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_
Index: pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c
diff -u pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c:1.1 pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c:1.2
--- pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c:1.1        Thu Jun 10 09:57:40 2021
+++ pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c    Thu Jun 10 12:26:26 2021
@@ -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
Index: pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c
diff -u pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c:1.1 pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c:1.2
--- pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c:1.1     Thu Jun 10 09:57:40 2021
+++ pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c Thu Jun 10 12:26:26 2021
@@ -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
Index: pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__timing.c
diff -u pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__timing.c:1.1 pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__timing.c:1.2
--- pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__timing.c:1.1        Thu Jun 10 09:57:40 2021
+++ pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__timing.c    Thu Jun 10 12:26:26 2021
@@ -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