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

Collapse All | Expand All

(-)devel/opencl/Makefile (-19 / +11 lines)
Lines 1-21 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]
18
19
USE_GITHUB=	yes
16
USE_GITHUB=	yes
20
GH_ACCOUNT=	KhronosGroup
17
GH_ACCOUNT=	KhronosGroup
21
GH_PROJECT=	OpenCL-Headers OpenCL-CLHPP:clhpp
18
GH_PROJECT=	OpenCL-Headers OpenCL-CLHPP:clhpp
Lines 22-44 Link Here
22
GH_TAGNAME=	${HEADER_TAG} ${CLHPP_TAG}:clhpp
19
GH_TAGNAME=	${HEADER_TAG} ${CLHPP_TAG}:clhpp
23
20
24
# the header releases don't have tags yet, so use git commit for now
21
# the header releases don't have tags yet, so use git commit for now
25
HEADER_TAG=	f039db6
22
HEADER_TAG=	b04034a
26
CLHPP_TAG=	8b6a312
23
CLHPP_TAG=	64c206f	#  include missing CL/opencl.hpp
27
24
28
USES=		python:build
25
NO_BUILD=	yes
29
NO_ARCH=	yes
26
NO_ARCH=	yes
30
27
31
WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/opencl${PORTVERSION:S/.//}/CL
28
WRKSRC=	${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/CL
32
29
33
do-build:
34
	@cd ${WRKSRC_clhpp} && ${PYTHON_CMD} gen_cl_hpp.py
35
36
do-install:
30
do-install:
37
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/CL
31
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/CL
38
	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/CL
32
	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/CL
39
	${INSTALL_DATA} ${WRKSRC_clhpp}/cl.hpp \
33
	${INSTALL_DATA} ${WRKSRC_clhpp}/include/CL/*.hpp \
40
		${STAGEDIR}${PREFIX}/include/CL/cl.hpp
34
		${STAGEDIR}${PREFIX}/include/CL
41
	${INSTALL_DATA} ${WRKSRC_clhpp}/input_cl2.hpp \
42
		${STAGEDIR}${PREFIX}/include/CL/cl2.hpp
43
35
44
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)devel/opencl/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1508331981
1
TIMESTAMP = 1606574707
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-64c206f_GH0.tar.gz) = 7fd3c7332316cae96b4b27563cecbb268787f9aef7ac043cf31c73760f08f611
5
SIZE (KhronosGroup-OpenCL-CLHPP-8b6a312_GH0.tar.gz) = 131038
5
SIZE (KhronosGroup-OpenCL-CLHPP-64c206f_GH0.tar.gz) = 97908
(-)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 / +4 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
18
include/CL/opencl.hpp

Return to bug 250562