summaryrefslogtreecommitdiff
path: root/math/clblast/Makefile
blob: a93745ba0b12cebd67aafa50120d2174a3df91e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	clblast
PORTVERSION=	1.6.3
CATEGORIES=	math

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Modern, lightweight, performant and tunable OpenCL BLAS library
WWW=		https://github.com/CNugteren/CLBlast

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

USES=		cmake
USE_LDCONFIG=	yes
PLIST_SUB=	VER=${PORTVERSION}

OPTIONS_DEFINE=		TEST
OPTIONS_SUB=		yes
TEST_CMAKE_BOOL=	TESTS
TEST_LIB_DEPENDS=	libcblas.so:math/cblas	\
			libclBLAS.so:math/clblas

.include <bsd.port.mk>