aboutsummaryrefslogtreecommitdiff
path: root/math/lapackpp/Makefile
blob: 532cd7d839190f4251d92c04b6824054d3a83493 (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
PORTNAME=	lapackpp
DISTVERSION=	2022.05.00
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	https://bitbucket.org/icl/${PORTNAME}/downloads/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ API for the Linear Algebra PACKage
WWW=		https://bitbucket.org/icl/lapackpp/src/master/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	lapacke>0:math/lapacke
LIB_DEPENDS=	libblaspp.so:math/blaspp \
		libopenblas.so:math/openblas
TEST_DEPENDS=	lapacke>0:math/lapacke
# fails to find xblas, see https://bitbucket.org/icl/lapackpp/issues/14/fails-to-find-xblas

USES=		cmake:testing fortran localbase:ldflags

CMAKE_OFF=	build_tests
CMAKE_TESTING_ON=	build_tests
CMAKE_TESTING_TARGET=	tester

post-test:
	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} test/tester

.include <bsd.port.mk>