blob: 4cd520b6953f63cd8aaf90b7aefdf075760c42f4 (
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
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= costa
DISTVERSIONPREFIX= v
DISTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Distributed Communication-Optimal Shuffle and Transpose Algorithm
WWW= https://github.com/eth-cscs/COSTA
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libopenblas.so:math/openblas \
libscalapack.so:math/scalapack
USES= cmake:testing pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= eth-cscs
GH_PROJECT= COSTA
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_ARGS= -DCOSTA_SCALAPACK=CUSTOM
CMAKE_OFF= COSTA_WITH_TESTS
CMAKE_TESTING_ON= COSTA_WITH_TESTS
OPTIONS_SINGLE= MPI
OPTIONS_SINGLE_MPI= MPICH OPENMPI
OPTIONS_DEFAULT= MPICH
MPICH_USES= mpi:mpich
OPENMPI_USES= mpi:openmpi
post-install: # workaround for https://github.com/eth-cscs/COSTA/issues/9
@cd ${STAGEDIR}${PREFIX} && ${RMDIR} \
include/costa/pxtran \
include/costa/pxtranc \
include/costa/pxtranu
.include <bsd.port.mk>
|