aboutsummaryrefslogtreecommitdiff
path: root/math/suitesparse-spqr/Makefile
blob: 9d0995c8a0ecd9a3f76ff803f25218ac3b6e1b7d (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
31
32
# Created by: Thierry Thomas (<thierry@pompo.net>)

PORTNAME=	SPQR
PORTVERSION=	2.0.9
CATEGORIES=	math

COMMENT=	Sparse QR factorization

LICENSE=	GPLv2+

LIB_DEPENDS=	libamd.so:math/suitesparse-amd		\
		libcamd.so:math/suitesparse-camd	\
		libcolamd.so:math/suitesparse-colamd	\
		libccolamd.so:math/suitesparse-ccolamd	\
		libcholmod.so:math/suitesparse-cholmod

USES=		localbase:ldflags

BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
USE_LDCONFIG=	yes
BLAS_NEEDED=	yes
OMP_NEEDED=	yes

# See https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/72 and PR 252651
#OPTIONS_DEFINE+=	TBB
#OPTIONS_DEFAULT+=	TBB
#TBB_DESC=		Intel threading building blocks
#TBB_LIB_DEPENDS=	libtbb.so:devel/tbb
#TBB_MAKE_ENV=		TBB="-ltbb" SPQR_CONFIG="-DHAVE_TBB"

.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
.include <bsd.port.post.mk>