1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

science/paraview: Fix MPICH option

- Bump PORTREVISION for dependency change

MPICH option should depends on net/py-mpi4py-mpich rather than net/py-mpi4py
which uses openmpi.

Note that this port still does not build due to its dependency (math/openturns)
fails at configure stage. [1][2][3]

Reference:	https://pkg-status.freebsd.org/beefy16/data/133amd64-default/a760f6876277/logs/openturns-1.23_2.log [1]
		https://pkg-status.freebsd.org/beefy22/data/140amd64-default/935c61ac4bff/logs/openturns-1.23_2.log [2]
		https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pa760f6876277_s5cbb98c8259/logs/openturns-1.23_2.log [3]
Approved by:    portmgr (blanket)
This commit is contained in:
Po-Chuan Hsieh 2024-09-05 13:30:23 +08:00
parent 444a0768a1
commit d19ac80c27
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -1,6 +1,6 @@
PORTNAME= paraview
DISTVERSION= ${PARAVIEW_VER}.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= science graphics
MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/
DISTNAME= ParaView-v${PORTVERSION}
@ -113,8 +113,8 @@ OPTIONS_SUB= yes
OSMESA_DESC= Use Mesa for off-screen rendering
# mpi4py and other programs must be compiled against the same MPI provider
MPICH_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR}
MPICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR}
MPICH_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py-mpich>=0:net/py-mpi4py-mpich@${PY_FLAVOR}
MPICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py-mpich>=0:net/py-mpi4py-mpich@${PY_FLAVOR}
MPICH_USES= mpi # mpich is set by default, use mpi:openmpi if needed
MPICH_CMAKE_ON= -DPARAVIEW_USE_MPI:BOOL=ON
MPICH_CMAKE_OFF= -DPARAVIEW_USE_MPI:BOOL=OFF