Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2020 21:07:01 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556679 - in head/devel/opencl: . files
Message-ID:  <202011302107.0AUL711N035643@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Nov 30 21:07:01 2020
New Revision: 556679
URL: https://svnweb.freebsd.org/changeset/ports/556679

Log:
  devel/opencl: update to 3.0
  
  - Update MAINTAINER address
  - Define LICENSE as standard
  - Drop CONFLICTS against itself
  
  PR:		250562
  Submitted by:	O. Hartmann (maintainer)

Deleted:
  head/devel/opencl/files/
Modified:
  head/devel/opencl/Makefile   (contents, props changed)
  head/devel/opencl/distinfo   (contents, props changed)
  head/devel/opencl/pkg-descr   (contents, props changed)
  head/devel/opencl/pkg-plist   (contents, props changed)

Modified: head/devel/opencl/Makefile
==============================================================================
--- head/devel/opencl/Makefile	Mon Nov 30 21:03:35 2020	(r556678)
+++ head/devel/opencl/Makefile	Mon Nov 30 21:07:01 2020	(r556679)
@@ -1,20 +1,17 @@
-# Created by: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
+# Created by: O. Hartmann <ohartmann@walstatt.org>
 # $FreeBSD$
 
 PORTNAME=	opencl
-PORTVERSION=	2.2
-PORTREVISION=	2
+PORTVERSION=	3.0
 CATEGORIES=	devel
 
-MAINTAINER=	ohartman@zedat.fu-berlin.de
-COMMENT=	Open Computing Language (OpenCL) specifications V2.2 (header files)
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	d7283be010f2.patch:-p2 # https://github.com/KhronosGroup/OpenCL-Headers/pull/93
 
-LICENSE=	unknown
-LICENSE_NAME=	BSD-esque license agreement
-LICENSE_TEXT=	License is included in each of the header files of this port
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+MAINTAINER=	ohartmann@walstatt.org
+COMMENT=	Open Computing Language (OpenCL) specifications V3.0 (header files)
 
-CONFLICTS=	opencl-1.[0-2]
+LICENSE=	APACHE20
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	KhronosGroup
@@ -22,23 +19,18 @@ GH_PROJECT=	OpenCL-Headers OpenCL-CLHPP:clhpp
 GH_TAGNAME=	${HEADER_TAG} ${CLHPP_TAG}:clhpp
 
 # the header releases don't have tags yet, so use git commit for now
-HEADER_TAG=	f039db6
-CLHPP_TAG=	8b6a312
+HEADER_TAG=	b04034a
+CLHPP_TAG=	64c206f	#  include missing CL/opencl.hpp
 
-USES=		python:build
+NO_BUILD=	yes
 NO_ARCH=	yes
 
-WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/opencl${PORTVERSION:S/.//}/CL
+WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/CL
 
-do-build:
-	@cd ${WRKSRC_clhpp} && ${PYTHON_CMD} gen_cl_hpp.py
-
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/CL
 	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/CL
-	${INSTALL_DATA} ${WRKSRC_clhpp}/cl.hpp \
-		${STAGEDIR}${PREFIX}/include/CL/cl.hpp
-	${INSTALL_DATA} ${WRKSRC_clhpp}/input_cl2.hpp \
-		${STAGEDIR}${PREFIX}/include/CL/cl2.hpp
+	${INSTALL_DATA} ${WRKSRC_clhpp}/include/CL/*.hpp \
+		${STAGEDIR}${PREFIX}/include/CL
 
 .include <bsd.port.mk>

Modified: head/devel/opencl/distinfo
==============================================================================
--- head/devel/opencl/distinfo	Mon Nov 30 21:03:35 2020	(r556678)
+++ head/devel/opencl/distinfo	Mon Nov 30 21:07:01 2020	(r556679)
@@ -1,5 +1,7 @@
-TIMESTAMP = 1508331981
-SHA256 (KhronosGroup-OpenCL-Headers-2.2-f039db6_GH0.tar.gz) = 2f74418100ebc1f6a1c8dfa8bf0dbb82956f6aa54b41cb414b61fce1a5785f46
-SIZE (KhronosGroup-OpenCL-Headers-2.2-f039db6_GH0.tar.gz) = 160909
-SHA256 (KhronosGroup-OpenCL-CLHPP-8b6a312_GH0.tar.gz) = 482d6ae6bbae5255e448bb2556a9fcbbe79370cf01405f868e0e56e57a54f9bb
-SIZE (KhronosGroup-OpenCL-CLHPP-8b6a312_GH0.tar.gz) = 131038
+TIMESTAMP = 1606574707
+SHA256 (KhronosGroup-OpenCL-Headers-3.0-b04034a_GH0.tar.gz) = 19246faab53a3937862e6882909053e1389bb6c7ba59adaeac635653b44724d5
+SIZE (KhronosGroup-OpenCL-Headers-3.0-b04034a_GH0.tar.gz) = 54762
+SHA256 (KhronosGroup-OpenCL-CLHPP-64c206f_GH0.tar.gz) = 7fd3c7332316cae96b4b27563cecbb268787f9aef7ac043cf31c73760f08f611
+SIZE (KhronosGroup-OpenCL-CLHPP-64c206f_GH0.tar.gz) = 97908
+SHA256 (d7283be010f2.patch) = 74f267b39b49a9733de9bf0a42b3e1d8a0179abcc93e5cf3a6157678f89c4f27
+SIZE (d7283be010f2.patch) = 1175

Modified: head/devel/opencl/pkg-descr
==============================================================================
--- head/devel/opencl/pkg-descr	Mon Nov 30 21:03:35 2020	(r556678)
+++ head/devel/opencl/pkg-descr	Mon Nov 30 21:07:01 2020	(r556679)
@@ -3,4 +3,4 @@ for general purpose parallel programming across CPUs, 
 other processors, giving software developers portable and efficient
 access to the power of these heterogeneous processing platforms.
 
-These header are covering OpenCL API 2.2
+These header are covering OpenCL API 3.0

Modified: head/devel/opencl/pkg-plist
==============================================================================
--- head/devel/opencl/pkg-plist	Mon Nov 30 21:03:35 2020	(r556678)
+++ head/devel/opencl/pkg-plist	Mon Nov 30 21:07:01 2020	(r556679)
@@ -1,5 +1,4 @@
 include/CL/cl.h
-include/CL/cl.hpp
 include/CL/cl2.hpp
 include/CL/cl_d3d10.h
 include/CL/cl_d3d11.h
@@ -10,6 +9,10 @@ include/CL/cl_ext.h
 include/CL/cl_ext_intel.h
 include/CL/cl_gl.h
 include/CL/cl_gl_ext.h
+include/CL/cl_half.h
+include/CL/cl_icd.h
 include/CL/cl_platform.h
 include/CL/cl_va_api_media_sharing_intel.h
+include/CL/cl_version.h
 include/CL/opencl.h
+include/CL/opencl.hpp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011302107.0AUL711N035643>