Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -303,6 +303,7 @@ SUBDIR += cloudabi-binutils-aarch64 SUBDIR += cloudabi-binutils-x86_64 SUBDIR += cloudabi-toolchain + SUBDIR += cltune SUBDIR += cmake SUBDIR += cmake-doc SUBDIR += cmake-fedora Index: head/devel/cltune/Makefile =================================================================== --- head/devel/cltune/Makefile +++ head/devel/cltune/Makefile @@ -0,0 +1,33 @@ +# Created by: Johannes M Dieterich +# $FreeBSD$ + +PORTNAME= cltune +PORTVERSION= 2.6.0 +CATEGORIES= devel + +MAINTAINER= jmd@FreeBSD.org +COMMENT= Library to tune OpenCL kernels + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= opencl>=0:devel/opencl +LIB_DEPENDS= libOpenCL.so:devel/ocl-icd +RUN_DEPENDS= opencl>=0:devel/opencl + +USE_GITHUB= yes +GH_ACCOUNT= CNugteren +GH_PROJECT= CLTune + +USE_LDCONFIG= yes +USES= cmake + +PLIST_FILES= include/cltune.h \ + lib/libcltune.so \ + libdata/pkgconfig/cltune.pc + +post-install: + @${MV} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/cltune.pc ${STAGEDIR}/${PREFIX}/libdata/pkgconfig/cltune.pc + @${RM} -r ${STAGEDIR}/${PREFIX}/lib/pkgconfig + +.include Index: head/devel/cltune/distinfo =================================================================== --- head/devel/cltune/distinfo +++ head/devel/cltune/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1495678565 +SHA256 (CNugteren-CLTune-2.6.0_GH0.tar.gz) = 653f748b8e46b285e723012c08df85d283ded1c04a18fd349716184dbd287282 +SIZE (CNugteren-CLTune-2.6.0_GH0.tar.gz) = 137373 Index: head/devel/cltune/pkg-descr =================================================================== --- head/devel/cltune/pkg-descr +++ head/devel/cltune/pkg-descr @@ -0,0 +1,5 @@ +CLTune is a C++ library which can be used to automatically tune your OpenCL +and CUDA kernels. The only thing you'll need to provide is a tuneable kerne +and a list of allowed parameters and values. + +WWW: https://github.com/CNugteren/CLTune