summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-02-03 12:11:03 +0100
committerGitHub <noreply@github.com>2024-02-03 12:11:03 +0100
commitf2125882c5732773c7228fc69a55e0f2c69408d3 (patch)
tree8f7b034fd42bee9b87ef0643785b1eac5337c391 /var
parentd23cb39a3f40997100d58f8d91ff399cb15b3002 (diff)
downloadspack-f2125882c5732773c7228fc69a55e0f2c69408d3.tar.gz
spack-f2125882c5732773c7228fc69a55e0f2c69408d3.tar.bz2
spack-f2125882c5732773c7228fc69a55e0f2c69408d3.tar.xz
spack-f2125882c5732773c7228fc69a55e0f2c69408d3.zip
flecsi: fix constraints on mpi providers (#42447)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/flecsi/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/flecsi/package.py b/var/spack/repos/builtin/packages/flecsi/package.py
index c11b4ecf6a..e45f49de19 100644
--- a/var/spack/repos/builtin/packages/flecsi/package.py
+++ b/var/spack/repos/builtin/packages/flecsi/package.py
@@ -102,7 +102,7 @@ class Flecsi(CMakePackage, CudaPackage, ROCmPackage):
depends_on("llvm", when="+flecstan @:1")
depends_on("pfunit@3.0:3", when="@:1")
depends_on("py-gcovr", when="+coverage @:1")
- depends_on("openmpi+legacylaunchers", when="+unit_tests ^openmpi")
+ depends_on("openmpi+legacylaunchers", when="+unit_tests ^[virtuals=mpi] openmpi")
# FleCSI@2.x
depends_on("cmake@3.15:", when="@2.0:")
@@ -123,8 +123,8 @@ class Flecsi(CMakePackage, CudaPackage, ROCmPackage):
depends_on("hdf5@1.10.7:", when="backend=legion +hdf5 @2.0:")
depends_on("hpx@1.9.1: cxxstd=17 malloc=system", when="backend=hpx @2.0:")
depends_on("mpi", when="@2.0:")
- depends_on("mpich@3.4.1:", when="@2.0: ^mpich")
- depends_on("openmpi@4.1.0:", when="@2.0: ^openmpi")
+ depends_on("mpich@3.4.1:", when="@2.0: ^[virtuals=mpi] mpich")
+ depends_on("openmpi@4.1.0:", when="@2.0: ^[virtuals=mpi] openmpi")
# FleCSI 2.2+ documentation dependencies
depends_on("py-sphinx", when="+doc")