Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2017 00:14:04 +0000 (UTC)
From:      Johannes M Dieterich <jmd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442360 - in head/math: . clblast
Message-ID:  <201706020014.v520E4NR019586@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmd
Date: Fri Jun  2 00:14:04 2017
New Revision: 442360
URL: https://svnweb.freebsd.org/changeset/ports/442360

Log:
  new port: math/clblast. This adds clblast (notice the t!) another BLAS library for GPUs, with the distinct difference that clblast targets portable performance across AMD, Intel, and NVIDIA accelerators.
  
  Reported by:	swills (mentor)
  Reviewed by:	swills (mentor)
  Differential Revision:	https://reviews.freebsd.org/D10919

Added:
  head/math/clblast/
  head/math/clblast/Makefile   (contents, props changed)
  head/math/clblast/distinfo   (contents, props changed)
  head/math/clblast/pkg-descr   (contents, props changed)
  head/math/clblast/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Thu Jun  1 23:52:34 2017	(r442359)
+++ head/math/Makefile	Fri Jun  2 00:14:04 2017	(r442360)
@@ -121,6 +121,7 @@
     SUBDIR += clarence
     SUBDIR += clasp
     SUBDIR += clblas
+    SUBDIR += clblast
     SUBDIR += clfft
     SUBDIR += clipper
     SUBDIR += cln

Added: head/math/clblast/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/clblast/Makefile	Fri Jun  2 00:14:04 2017	(r442360)
@@ -0,0 +1,29 @@
+# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	clblast
+PORTVERSION=	0.11.0
+CATEGORIES=	math
+
+MAINTAINER=	jmd@FreeBSD.org
+COMMENT=	Modern, lightweight, performant and tunable OpenCL BLAS library
+
+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=	CLBlast
+
+USE_LDCONFIG=	yes
+USES=		cmake
+
+post-install:
+	@${MV} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/clblast.pc ${STAGEDIR}/${PREFIX}/libdata/pkgconfig/clblast.pc
+	@${RM} -r ${STAGEDIR}/${PREFIX}/lib/pkgconfig
+
+.include <bsd.port.mk>

Added: head/math/clblast/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/clblast/distinfo	Fri Jun  2 00:14:04 2017	(r442360)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495679439
+SHA256 (CNugteren-CLBlast-0.11.0_GH0.tar.gz) = 947182733e51f9fc8317896047c95cf07fb3cd5f14437ea25a38e013f42f8e53
+SIZE (CNugteren-CLBlast-0.11.0_GH0.tar.gz) = 557469

Added: head/math/clblast/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/clblast/pkg-descr	Fri Jun  2 00:14:04 2017	(r442360)
@@ -0,0 +1,4 @@
+Modern, lightweight, performant and tunable OpenCL BLAS library. Tuned for
+Intel, AMD, and NVIDIA accelerators.
+
+WWW: https://github.com/CNugteren/CLBlast

Added: head/math/clblast/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/clblast/pkg-plist	Fri Jun  2 00:14:04 2017	(r442360)
@@ -0,0 +1,7 @@
+include/clblast.h
+include/clblast_c.h
+include/clblast_half.h
+lib/cmake/CLBLast/CLBlastConfig-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/CLBLast/CLBlastConfig.cmake
+lib/libclblast.so
+libdata/pkgconfig/clblast.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706020014.v520E4NR019586>