svn commit: r442361 - in head/devel: . cltune
Johannes M Dieterich
jmd at FreeBSD.org
Fri Jun 2 00:18:08 UTC 2017
Author: jmd
Date: Fri Jun 2 00:18:06 2017
New Revision: 442361
URL: https://svnweb.freebsd.org/changeset/ports/442361
Log:
new port: devel/cltune. This adds cltune, a program to tune OpenCL (and CUDA) kernels automatically.
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10918
Added:
head/devel/cltune/
head/devel/cltune/Makefile (contents, props changed)
head/devel/cltune/distinfo (contents, props changed)
head/devel/cltune/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Jun 2 00:14:04 2017 (r442360)
+++ head/devel/Makefile Fri Jun 2 00:18:06 2017 (r442361)
@@ -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
Added: head/devel/cltune/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cltune/Makefile Fri Jun 2 00:18:06 2017 (r442361)
@@ -0,0 +1,33 @@
+# Created by: Johannes M Dieterich <jmd at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cltune
+PORTVERSION= 2.6.0
+CATEGORIES= devel
+
+MAINTAINER= jmd at 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 <bsd.port.mk>
Added: head/devel/cltune/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cltune/distinfo Fri Jun 2 00:18:06 2017 (r442361)
@@ -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
Added: head/devel/cltune/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cltune/pkg-descr Fri Jun 2 00:18:06 2017 (r442361)
@@ -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
More information about the svn-ports-all
mailing list