Date: Thu, 6 Sep 2012 12:08:21 GMT From: Oliver Hartmann <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171375: New port: devel/opencl: Providing Khronos OpenCL 1.2 header files Message-ID: <201209061208.q86C8L7X072202@red.freebsd.org> Resent-Message-ID: <201209061210.q86CA2mN003215@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171375 >Category: ports >Synopsis: New port: devel/opencl: Providing Khronos OpenCL 1.2 header files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 06 12:10:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 10.0-CURRENT/amd64 >Organization: FU Berlin >Environment: >Description: For development and several OpenCL tasks, devel/freeocl forinstance, the Khronos provided header files for OpenCL are needed. This small port is my attempt to provide those header files automated as a port to FreeBSD hoping, that they are of use. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # opencl # opencl/Makefile # opencl/distinfo # opencl/pkg-descr # opencl/pkg-message # echo c - opencl mkdir -p opencl > /dev/null 2>&1 echo x - opencl/Makefile sed 's/^X//' >opencl/Makefile << '00935578c89e3da86bc6915ff33066b8' XPORTNAME= opencl XPORTVERSION= 1.2 X#PORTREVISION= 0 XCATEGORIES= devel X X XMASTER_SITES= http://www.khronos.org/registry/cl/api/${PORTVERSION}/ XDISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} X XDISTFILES= opencl.h \ X cl_platform.h \ X cl.h \ X cl_ext.h \ X cl_dx9_media_sharing.h \ X cl_d3d10.h \ X cl_d3d11.h \ X cl_gl.h \ X cl_gl_ext.h \ X cl.hpp X XEXTRACT_ONLY= yes X XCONFLICTS= opencl-1.[0-1] X XMAINTAINER= ports@FreeBSD.org XCOMMENT= Open Computing Language sepcifications X XDIST_SUBDIR= ${PORTNAME} X XNO_BUILD= yes XNO_WRKSUBDIR= yes XMAKE_JOBS_SAFE= yes X XPLIST_SUB+= CL="" X XPLIST_FILES= include/CL/opencl.h \ X include/CL/cl_platform.h \ X include/CL/cl.h \ X include/CL/cl_ext.h \ X include/CL/cl_dx9_media_sharing.h \ X include/CL/cl_d3d10.h \ X include/CL/cl_d3d11.h \ X include/CL/cl_gl.h \ X include/CL/cl_gl_ext.h \ X include/CL/cl.hpp X XPLIST_DIRS= include/CL X Xdo-extract: X ${MKDIR} ${WRKSRC} X Xdo-install: X ${MKDIR} ${PREFIX}/include/CL X ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.h ${PREFIX}/include/CL X ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.hpp ${PREFIX}/include/CL X X.include <bsd.port.mk> 00935578c89e3da86bc6915ff33066b8 echo x - opencl/distinfo sed 's/^X//' >opencl/distinfo << '72ea72abce85e369c91b9d6aa0bff232' XSHA256 (opencl/opencl.h) = a69842d53ea5b505323a6bee242cca8ddba47294f69972fe61c0371636935819 XSIZE (opencl/opencl.h) = 1754 XSHA256 (opencl/cl_platform.h) = c27ab3ab36e00bf7ba389a0011a2d9e51efff95a76c34b13638d4ee598caa549 XSIZE (opencl/cl_platform.h) = 38164 XSHA256 (opencl/cl.h) = 2e846fd99f69498f56136514623eaed7582bc02c82d9231208832c61b6c8fc1a XSIZE (opencl/cl.h) = 62888 XSHA256 (opencl/cl_ext.h) = bda268419b454540c56ee615f6718a917d4289973545d7357509b4128933a18e XSIZE (opencl/cl_ext.h) = 9951 XSHA256 (opencl/cl_dx9_media_sharing.h) = 7aa1cece80d7ca7bf699e248ca989dd97aa807472f7ecd7aca79cec0af56340c XSIZE (opencl/cl_dx9_media_sharing.h) = 5157 XSHA256 (opencl/cl_d3d10.h) = 394787cf9ddfee6f24c59521b714d0974f6a7874fd8fd5aae6365028d946a8bd XSIZE (opencl/cl_d3d10.h) = 4859 XSHA256 (opencl/cl_d3d11.h) = 20cc068d09e06498e38f449e35876ec4b5bf545807a463aca85319246717cba8 XSIZE (opencl/cl_d3d11.h) = 4853 XSHA256 (opencl/cl_gl.h) = 19e923585b36b69b5c09d566cef3b3d43fcf1143f64eece3cbf716fd0afbb6d7 XSIZE (opencl/cl_gl.h) = 7429 XSHA256 (opencl/cl_gl_ext.h) = c28c7b03aa7eb22bad5af50c9d1213e80b827e90ee04c2a6ee27561f19e93cf6 XSIZE (opencl/cl_gl_ext.h) = 2630 XSHA256 (opencl/cl.hpp) = eeacf0fefc51d618dda67d52e2bbff7dc9a67e90bc38166b3fad26d44800013a XSIZE (opencl/cl.hpp) = 915453 72ea72abce85e369c91b9d6aa0bff232 echo x - opencl/pkg-descr sed 's/^X//' >opencl/pkg-descr << 'f163be7932377daad6340636dec3af1c' XpenCL (Open Computing Language) is an open royalty-free standard Xfor general purpose parallel programming across CPUs, GPUs and Xother processors, giving software developers portable and efficient Xaccess to the power of these heterogeneous processing platforms. X XThis is OpenCL 1.2 f163be7932377daad6340636dec3af1c echo x - opencl/pkg-message sed 's/^X//' >opencl/pkg-message << '8b5e1f789dae03a580a9534d893c1cad' XOpenCL is the first open, royalty-free standard for cross-platform, Xparallel programming of modern processors. X XHeader files will reside in PREFIX/CL, with PREFIX usually Xset to /usr/local/include. 8b5e1f789dae03a580a9534d893c1cad exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209061208.q86C8L7X072202>