summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-03 20:53:15 +0000
committerSam James <sam@gentoo.org>2021-12-03 22:40:33 +0000
commita7aef4a5429b285dcdc29153dfd488a32a19719c (patch)
treef6d8af154bb358d0601634c520302cef8134f472 /virtual/mpi
parentmedia-gfx/blender: Fix building docs (diff)
downloadgentoo-a7aef4a5429b285dcdc29153dfd488a32a19719c.tar.gz
gentoo-a7aef4a5429b285dcdc29153dfd488a32a19719c.tar.bz2
gentoo-a7aef4a5429b285dcdc29153dfd488a32a19719c.zip
virtual/mpi: add USE=nullmpi
nullmpi doesn't implement all of the MPI spec/functions and ends up calling broken builds which is confusing for users. Tagged one example but there's been quite a few more. Bug: https://bugs.gentoo.org/636120 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'virtual/mpi')
-rw-r--r--virtual/mpi/metadata.xml1
-rw-r--r--virtual/mpi/mpi-2.0-r6.ebuild20
2 files changed, 21 insertions, 0 deletions
diff --git a/virtual/mpi/metadata.xml b/virtual/mpi/metadata.xml
index 91f51498c457..f10185ff9165 100644
--- a/virtual/mpi/metadata.xml
+++ b/virtual/mpi/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="romio">Enable romio, a high-performance portable MPI-IO</flag>
+ <flag name="nullmpi">Allow <pkg>sys-cluster/nullmpi</pkg> a minimal incomplete MPI implementation as a provider</flag>
</use>
<stabilize-allarches/>
</pkgmetadata>
diff --git a/virtual/mpi/mpi-2.0-r6.ebuild b/virtual/mpi/mpi-2.0-r6.ebuild
new file mode 100644
index 000000000000..ea446a870a34
--- /dev/null
+++ b/virtual/mpi/mpi-2.0-r6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-build
+
+DESCRIPTION="Virtual for Message Passing Interface (MPI) v2.0 implementation"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx fortran romio threads nullmpi"
+
+RDEPEND="|| (
+ >=sys-cluster/openmpi-1.10.2-r1[${MULTILIB_USEDEP},cxx?,fortran?,romio?,threads(+)?]
+ >=sys-cluster/mpich-3.2-r1[${MULTILIB_USEDEP},cxx?,fortran?,romio?,threads?]
+ sys-cluster/mpich2[${MULTILIB_USEDEP},cxx?,fortran?,romio?,threads?]
+ sys-cluster/nullmpi[${MULTILIB_USEDEP},cxx(-)?,fortran(-)?,romio(-)?,threads(-)?]
+ nullmpi? ( sys-cluster/native-mpi )
+)"