summaryrefslogtreecommitdiff
path: root/math/hipmcl/Makefile
blob: 747394279d77522fe0c65a429e89e2e8b1d311c7 (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
29
30
31
32
33
34
35

PORTNAME=	HipMCL
DISTVERSION=	g20180814
PORTREVISION=	4
CATEGORIES=	math
MASTER_SITES=	https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	High-performance parallel algorithm for large-scale network clustering

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/license.txt

LIB_DEPENDS=	libCombBLAS.so:math/combblas \
		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 dos2unix localbase:ldflags
DOS2UNIX_FILES=	CMakeLists.txt

BB_ACCOUNT=	azadcse
BB_PROJECT=	${PORTNAME:tl}
BB_COMMIT=	e20476acc473

WRKSRC=		${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}

PLIST_FILES=	bin/${PORTNAME:tl}

post-extract:
	@${RM} -r ${WRKSRC}/src/CombBLAS

do-install:
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/hipmcl ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>