blob: deeef17f0321ffb5028e7966e84f0461d34b393b (
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
44
45
46
47
48
49
50
51
52
53
|
PORTNAME= ascent
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.2
PORTREVISION= 1
CATEGORIES= science
PKGNAMESUFFIX= -visualizer
MAINTAINER= yuri@FreeBSD.org
COMMENT= Visualization and analysis runtime for multi-physics HPC simulations
WWW= https://ascent.readthedocs.io/en/latest/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/../LICENSE
LIB_DEPENDS= libconduit.so:science/conduit \
libhdf5.so:science/hdf5 \
libsiloh5.so:science/silo \
libsysinfo.so:devel/libsysinfo \
libsz.so:science/libaec
USES= cmake:testing compiler:c++11-lang fortran localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= Alpine-DAV
GH_TUPLE= Alpine-DAV:spack_configs:26ea412:spack_configs/../scripts/uberenv_configs/spack_configs \
LLNL:blt:86a7d6b:blt/blt \
llnl:uberenv:105e384:uberenv/../scripts/uberenv
CMAKE_OFF= ENABLE_PYTHON ENABLE_DOCS ENABLE_TESTS ENABLE_EXAMPLES
CMAKE_OFF+= ENABLE_UTILS # utils are installed into a non-standard path, see https://github.com/Alpine-DAV/ascent/issues/814
CMAKE_ARGS= -DCONDUIT_DIR=${LOCALBASE}
CMAKE_TESTING_ON= ENABLE_TESTS # one testcase fails because conduit lacks HDF5, see https://github.com/LLNL/conduit/issues/840
LDFLAGS+= -lsysinfo
WRKSRC_SUBDIR= src
OPTIONS_SINGLE= MPI
OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI
OPTIONS_DEFAULT= MPICH
OPTIONS_SUB= yes
NOMPI_DESC= Build without parallel processing support
NOMPI_CMAKE_ON= -DENABLE_MPI=OFF
MPICH_USES= mpi:mpich
MPICH_CMAKE_ON= -DENABLE_MPI=ON
OPENMPI_USES= mpi:openmpi
OPENMPI_CMAKE_ON= -DENABLE_MPI=ON
OPENMPI_BROKEN= still chooses mpich, see https://github.com/Alpine-DAV/ascent/issues/1091
.include <bsd.port.mk>
|