View | Details | Raw Unified | Return to bug 250562 | Differences between
and this patch

Collapse All | Expand All

(-)devel/opencl/Makefile (-17 / +11 lines)
Lines 1-20 Link Here
1
# Created by: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
1
# Created by: O. Hartmann <ohartmann@walstatt.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	opencl
4
PORTNAME=	opencl
5
PORTVERSION=	2.2
5
PORTVERSION=	3.0
6
PORTREVISION=	2
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
7
9
MAINTAINER=	ohartman@zedat.fu-berlin.de
8
MAINTAINER=	ohartmann@walstatt.org
10
COMMENT=	Open Computing Language (OpenCL) specifications V2.2 (header files)
9
COMMENT=	Open Computing Language (OpenCL) specifications V3.0 (header files)
11
10
12
LICENSE=	unknown
11
LICENSE=	Apache 2.0
13
LICENSE_NAME=	BSD-esque license agreement
12
LICENSE_NAME=	BSD-esque license agreement
14
LICENSE_TEXT=	License is included in each of the header files of this port
13
LICENSE_TEXT=	License is included in each of the header files of this port
15
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
14
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
16
15
17
CONFLICTS=	opencl-1.[0-2]
16
CONFLICTS=	opencl-[1-2].[0-2]
18
17
19
USE_GITHUB=	yes
18
USE_GITHUB=	yes
20
GH_ACCOUNT=	KhronosGroup
19
GH_ACCOUNT=	KhronosGroup
Lines 22-44 Link Here
22
GH_TAGNAME=	${HEADER_TAG} ${CLHPP_TAG}:clhpp
21
GH_TAGNAME=	${HEADER_TAG} ${CLHPP_TAG}:clhpp
23
22
24
# the header releases don't have tags yet, so use git commit for now
23
# the header releases don't have tags yet, so use git commit for now
25
HEADER_TAG=	f039db6
24
HEADER_TAG=	b04034a
26
CLHPP_TAG=	8b6a312
25
CLHPP_TAG=	524f5ca
27
26
28
USES=		python:build
27
NO_BUILD=	yes
29
NO_ARCH=	yes
28
NO_ARCH=	yes
30
29
31
WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/opencl${PORTVERSION:S/.//}/CL
30
WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/CL
32
31
33
do-build:
34
	@cd ${WRKSRC_clhpp} && ${PYTHON_CMD} gen_cl_hpp.py
35
36
do-install:
32
do-install:
37
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/CL
33
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/CL
38
	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/CL
34
	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/CL
39
	${INSTALL_DATA} ${WRKSRC_clhpp}/cl.hpp \
35
	${INSTALL_DATA} ${WRKSRC_clhpp}/include/CL/cl2.hpp \
40
		${STAGEDIR}${PREFIX}/include/CL/cl.hpp
41
	${INSTALL_DATA} ${WRKSRC_clhpp}/input_cl2.hpp \
42
		${STAGEDIR}${PREFIX}/include/CL/cl2.hpp
36
		${STAGEDIR}${PREFIX}/include/CL/cl2.hpp
43
37
44
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)devel/opencl/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1508331981
1
TIMESTAMP = 1606126518
2
SHA256 (KhronosGroup-OpenCL-Headers-2.2-f039db6_GH0.tar.gz) = 2f74418100ebc1f6a1c8dfa8bf0dbb82956f6aa54b41cb414b61fce1a5785f46
2
SHA256 (KhronosGroup-OpenCL-Headers-3.0-b04034a_GH0.tar.gz) = 19246faab53a3937862e6882909053e1389bb6c7ba59adaeac635653b44724d5
3
SIZE (KhronosGroup-OpenCL-Headers-2.2-f039db6_GH0.tar.gz) = 160909
3
SIZE (KhronosGroup-OpenCL-Headers-3.0-b04034a_GH0.tar.gz) = 54762
4
SHA256 (KhronosGroup-OpenCL-CLHPP-8b6a312_GH0.tar.gz) = 482d6ae6bbae5255e448bb2556a9fcbbe79370cf01405f868e0e56e57a54f9bb
4
SHA256 (KhronosGroup-OpenCL-CLHPP-524f5ca_GH0.tar.gz) = 76b5ade93c6e83d00d1220537112d68f19f406b7787439eb528646923499887b
5
SIZE (KhronosGroup-OpenCL-CLHPP-8b6a312_GH0.tar.gz) = 131038
5
SIZE (KhronosGroup-OpenCL-CLHPP-524f5ca_GH0.tar.gz) = 96913
(-)devel/opencl/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
other processors, giving software developers portable and efficient
3
other processors, giving software developers portable and efficient
4
access to the power of these heterogeneous processing platforms.
4
access to the power of these heterogeneous processing platforms.
5
5
6
These header are covering OpenCL API 2.2
6
These header are covering OpenCL API 3.0
(-)devel/opencl/pkg-plist (-1 / +3 lines)
Lines 1-5 Link Here
1
include/CL/cl.h
1
include/CL/cl.h
2
include/CL/cl.hpp
3
include/CL/cl2.hpp
2
include/CL/cl2.hpp
4
include/CL/cl_d3d10.h
3
include/CL/cl_d3d10.h
5
include/CL/cl_d3d11.h
4
include/CL/cl_d3d11.h
Lines 10-15 Link Here
10
include/CL/cl_ext_intel.h
9
include/CL/cl_ext_intel.h
11
include/CL/cl_gl.h
10
include/CL/cl_gl.h
12
include/CL/cl_gl_ext.h
11
include/CL/cl_gl_ext.h
12
include/CL/cl_half.h
13
include/CL/cl_icd.h
13
include/CL/cl_platform.h
14
include/CL/cl_platform.h
14
include/CL/cl_va_api_media_sharing_intel.h
15
include/CL/cl_va_api_media_sharing_intel.h
16
include/CL/cl_version.h
15
include/CL/opencl.h
17
include/CL/opencl.h

Return to bug 250562