devel/ocl-icd: update to 2.2.13

- Drop obsolete CONFLICTS after r438910

Changes:	https://github.com/OCL-dev/ocl-icd/compare/v2.2.12...v2.2.13
PR:		250562
Approved by:	O. Hartmann (maintainer)
This commit is contained in:
Jan Beich 2020-11-30 21:07:29 +00:00
parent e218fa9b0c
commit 85cb4c5001
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556680
5 changed files with 11 additions and 33 deletions

View File

@ -2,27 +2,27 @@
# $FreeBSD$
PORTNAME= ocl-icd
PORTVERSION= 2.2.12
DISTVERSIONPREFIX= v
PORTVERSION= 2.2.13
CATEGORIES= devel
MASTER_SITES= https://forge.imag.fr/frs/download.php/${REVID}/
MAINTAINER= ohartmann@walstatt.org
COMMENT= OpenCL Installable Client Driver
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= opencl>=2.1:devel/opencl
BUILD_DEPENDS= opencl>=3.0:devel/opencl
CONFLICTS= freeocl-[0-9]* opencl-icd-[0-9]*
USES= gmake libtool localbase:ldflags pathfix
USES= autoreconf gmake libtool localbase:ldflags pathfix
USE_GITHUB= yes
GH_ACCOUNT= OCL-dev
USE_RUBY= yes
RUBY_NO_RUN_DEPENDS= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
REVID= 836
CPPFLAGS+= -DCL_TARGET_OPENCL_VERSION=300
INSTALL_TARGET= install-strip

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1520760392
SHA256 (ocl-icd-ocl-icd-2.2.12_GH0.tar.gz) = 7665f368354e3d2b7787ba4a23c6f061db1181195ba1914dd1cdcd462eca4df4
SIZE (ocl-icd-ocl-icd-2.2.12_GH0.tar.gz) = 456646
TIMESTAMP = 1601398331
SHA256 (OCL-dev-ocl-icd-v2.2.13_GH0.tar.gz) = f85d59f3e8327f15637b91e4ae8df0829e94daeff68c647b2927b8376b1f8d92
SIZE (OCL-dev-ocl-icd-v2.2.13_GH0.tar.gz) = 98350

View File

@ -1,11 +0,0 @@
--- icd_generator.rb.orig 2020-08-19 22:03:46 UTC
+++ icd_generator.rb
@@ -189,7 +189,7 @@ EOF
}
libdummy_icd_structures += "};\n\n"
libdummy_icd_structures += "#pragma GCC visibility push(hidden)\n\n"
- libdummy_icd_structures += "struct _cl_icd_dispatch master_dispatch; \n\n"
+ libdummy_icd_structures += "extern struct _cl_icd_dispatch master_dispatch; \n\n"
$use_name_in_test.each { |k, f|
libdummy_icd_structures += "typeof(#{f}) INT#{f};\n"
}

View File

@ -1,11 +0,0 @@
--- ocl_icd_loader.c.orig 2017-01-19 13:55:12 UTC
+++ ocl_icd_loader.c
@@ -53,7 +53,7 @@ int debug_ocl_icd_mask=0;
typedef __typeof__(clGetPlatformInfo) *clGetPlatformInfo_fn;
-inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
+static inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
debug(D_DUMP, "%s %p={ num=%i, handle=%p, f=%p}\n", info,
v, v->num_platforms, v->dl_handle, v->ext_fn_ptr);
}

View File

@ -3,4 +3,4 @@ OpenCL program can use several ICD thanks to the use of an ICD Loader as
provided by this project. This free ICD Loader can load any (free or non
free) ICD.
WWW: https://forge.imag.fr/projects/ocl-icd/
WWW: https://github.com/OCL-dev/ocl-icd