diff --git a/devel/Makefile b/devel/Makefile index 0df72542dae8..4fca307e88df 100644 --- a/devel/Makefile +++ b/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 diff --git a/devel/cltune/Makefile b/devel/cltune/Makefile new file mode 100644 index 000000000000..8ace145c135d --- /dev/null +++ b/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 diff --git a/devel/cltune/distinfo b/devel/cltune/distinfo new file mode 100644 index 000000000000..8daa918f87e9 --- /dev/null +++ b/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 diff --git a/devel/cltune/pkg-descr b/devel/cltune/pkg-descr new file mode 100644 index 000000000000..67b09133d772 --- /dev/null +++ b/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