blob: d52a8a9f877c15dc80e71d3434a7a7f2edfbec43 (
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
36
37
38
39
40
41
42
43
|
PORTNAME= cosma
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.2
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Distributed communication-optimal matrix multiplication algorithm
WWW= https://github.com/eth-cscs/COSMA
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
.if !exists(/usr/include/omp.h)
BROKEN= requires OpenMP support that is missing on this architecture
.endif
BUILD_DEPENDS= openmpi4>0:net/openmpi4
LIB_DEPENDS= libopenblas.so:math/openblas
RUN_DEPENDS= openmpi4>0:net/openmpi4
USES= cmake:testing
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= eth-cscs
GH_PROJECT= COSMA
GH_TUPLE= eth-cscs:COSTA:5f1ea59:costa/libs/COSTA \
eth-cscs:Tiled-MM:9e880f9:tiledmm/libs/Tiled-MM
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= COSMA_WITH_TESTS
CMAKE_ARGS= -DCOSMA_BLAS="OPENBLAS"
CMAKE_TESTING_ON= COSMA_WITH_TESTS
post-install:
@cd ${STAGEDIR}${PREFIX} && \
${RMDIR} \
include/costa/pxtran \
include/costa/pxtranc \
include/costa/pxtranu
.include <bsd.port.mk>
|