1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/math/cosma/Makefile
2024-06-21 19:49:24 +02:00

44 lines
1003 B
Makefile

PORTNAME= cosma
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.2
PORTREVISION= 4
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>