summaryrefslogtreecommitdiff
path: root/math/combblas/Makefile
blob: c32a7be5fcc14b6532c8a3adc71f1fce37ec4c49 (plain)
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

PORTNAME=	CombBLAS
DISTVERSION=	1.6.2
PORTREVISION=	5
CATEGORIES=	math
MASTER_SITES=	https://people.eecs.berkeley.edu/~aydin/${PORTNAME}_FILES/
DISTNAME=	${PORTNAME}_beta_${DISTVERSION:S/.//:S/./_/}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Combinatorial BLAS library: an extensible parallel graph library

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libmpi.so:net/mpich
RUN_DEPENDS=	${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so.1:lang/gcc${GCC_DEFAULT} # because of the link flags induced by mpich

USES=		cmake compiler:c++14-lang localbase:ldflags tar:tgz
USE_LDCONFIG=	yes

CMAKE_ON=	BUILD_SHARED_LIBS
EXTRA_PATCHES=	${EXTRA_PATCHES_${CHOSEN_COMPILER_TYPE}}
EXTRA_PATCHES_clang=	${FILESDIR}/extra-patch-CMakeLists.txt

post-extract:
	@cd ${WRKSRC}/include && ${RM} .DS_Store ._.DS_Store CombBLAS/._CombBLAS.h

.include <bsd.port.mk>