summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/legion/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/legion/package.py b/var/spack/repos/builtin/packages/legion/package.py
index 5304d74799..9b0d11112d 100644
--- a/var/spack/repos/builtin/packages/legion/package.py
+++ b/var/spack/repos/builtin/packages/legion/package.py
@@ -50,7 +50,7 @@ class Legion(CMakePackage, ROCmPackage):
depends_on("ucx", when="network=ucx")
depends_on("ucx", when="conduit=ucx")
depends_on("mpi", when="conduit=mpi")
- depends_on("cray-pmi", when="conduit=ofi-slingshot11 ^cray-mpich")
+ depends_on("cray-pmi", when="network=gasnet ^cray-mpich")
depends_on("cuda@10.0:11.9", when="+cuda_unsupported_compiler @:23.03.0")
depends_on("cuda@10.0:11.9", when="+cuda @:23.03.0")
depends_on("cuda@10.0:12.2", when="+cuda_unsupported_compiler @23.06.0:")