blob: d60938ab714308787da988e4e4e8f924e141241d (
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
44
45
46
47
48
49
50
51
52
|
PORTNAME= cardioid
PORTVERSION= g20211026
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Cardiac simulation toolkit
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libblas.so:math/blas \
liblapack.so:math/lapack
RUN_DEPENDS= bash:shells/bash
USES= cmake:testing compiler:c++11-lang shebangfix
USE_GITHUB= yes
GH_ACCOUNT= LLNL
GH_TAGNAME= 2f66d9f
GH_TUPLE= mfem:mfem:v4.4:mfem
SHEBANG_FILES= elec/compileReaction.template
CMAKE_TESTING_ON= ENABLE_TESTS
PLIST_FILES= bin/cardioid \
bin/compileReaction \
bin/singleCell
OPTIONS_DEFINE= MFEM OPENMP
OPTIONS_SINGLE= MFEM MPI
OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI
OPTIONS_DEFAULT= MPICH OPENMP
OPTIONS_SUB= yes
MFEM_DESC= Build with MFEM mesh library
MFEM_CMAKE_ON= -DMFEM_DIR=${WRKSRC_mfem}
MFEM_BROKEN= see https://github.com/LLNL/cardioid/issues/15
NOMPI_DESC= Build without parallel processing support
NOMPI_BROKEN= https://github.com/LLNL/axom/issues/913
MPICH_USES= mpi:mpich
MPICH_CMAKE_ON= -DENABLE_MPI=ON
OPENMPI_USES= mpi:openmpi
OPENMPI_CMAKE_ON= -DENABLE_MPI=ON
OPENMP_CMAKE_BOOL= ENABLE_OPENMP
OPENMP_BROKEN_OFF= https://github.com/LLNL/cardioid/issues/14
.include <bsd.port.mk>
|