git: e45b3ccfef5f - main - math/mfem: Improve MPI options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Aug 2022 18:33:57 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e45b3ccfef5f6747c156036bfebbd0573f444da2 commit e45b3ccfef5f6747c156036bfebbd0573f444da2 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-23 09:11:44 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-23 18:33:53 +0000 math/mfem: Improve MPI options --- math/mfem/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/math/mfem/Makefile b/math/mfem/Makefile index e7fb1df095c3..8e298e41a2fd 100644 --- a/math/mfem/Makefile +++ b/math/mfem/Makefile @@ -20,22 +20,19 @@ CMAKE_TESTING_ON= MFEM_ENABLE_TESTING # tests are broken, see https://github.com OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= MPICH # should be the same choice as in science/hypre +OPTIONS_SUB= yes NOMPI_DESC= Build without parallel processing support -NOMPI_CMAKE_ON= -DMFEM_USE_MPI=OFF +OPENMPI_CMAKE_ON= -DTPL_ENABLE_MPI=OFF -MPICH_CMAKE_ON= -DMFEM_USE_MPI=ON \ - -DMPI_HOME=${LOCALBASE} -MPICH_BUILD_DEPENDS= mpich>0:net/mpich +MPICH_USES= mpi:mpich +MPICH_CMAKE_ON= -DTPL_ENABLE_MPI=ON MPICH_LIB_DEPENDS= libHYPRE.so:science/hypre \ libmetis.so:math/metis -MPICH_RUN_DEPENDS= mpich>0:net/mpich -OPENMPI_CMAKE_ON= -DMFEM_USE_MPI=ON \ - -DMPI_HOME=${LOCALBASE}/mpi/openmpi -OPENMPI_BUILD_DEPENDS= openmpi>0:net/openmpi +OPENMPI_USES= mpi:openmpi +OPENMPI_CMAKE_ON= -DTPL_ENABLE_MPI=ON OPENMPI_LIB_DEPENDS= libHYPRE.so:science/hypre \ libmetis.so:math/metis -OPENMPI_RUN_DEPENDS= openmpi>0:net/openmpi .include <bsd.port.mk>