mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
Mk/Uses/mpi.mk: adapt the dependency on OpenMPI according to $ARCH
This commit is contained in:
parent
0728e016e0
commit
0d309c1afa
@ -39,7 +39,11 @@ MPIF90= ${MPIFC}
|
||||
. endif
|
||||
MPI_CFLAGS+= `pkgconf --cflags mpich`
|
||||
. elif ${mpi_ARGS} == openmpi
|
||||
LIB_DEPENDS+= libmpi_cxx.so:net/openmpi
|
||||
. if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc
|
||||
LIB_DEPENDS+= libmpi_cxx.so:net/openmpi4
|
||||
. else
|
||||
LIB_DEPENDS+= libmpi_mpifh.so:net/openmpi
|
||||
. endif
|
||||
MPI_HOME= ${LOCALBASE}/mpi/openmpi
|
||||
MPI4PY= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR}
|
||||
. if ${USES:Mfortran}
|
||||
|
Loading…
Reference in New Issue
Block a user