legion: correct cuda dependency for cr version (#41119)

* legion: correct cuda dependency for cr version
* Update var/spack/repos/builtin/packages/legion/package.py

---------

Co-authored-by: Davis Herring <herring@lanl.gov>
This commit is contained in:
Richard Berger 2023-12-05 19:36:50 -07:00 committed by GitHub
parent d50f8d7b19
commit cba8ba0466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,10 +50,10 @@ class Legion(CMakePackage, ROCmPackage):
depends_on("ucx", when="network=ucx")
depends_on("ucx", when="conduit=ucx")
depends_on("mpi", when="conduit=mpi")
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:")
depends_on("cuda@10.0:12.2", when="+cuda @23.06.0:")
depends_on("cuda@10.0:11.9", when="+cuda_unsupported_compiler @21.03.0:23.03.0")
depends_on("cuda@10.0:11.9", when="+cuda @21.03.0:23.03.0")
depends_on("cuda@10.0:12.2", when="+cuda_unsupported_compiler")
depends_on("cuda@10.0:12.2", when="+cuda")
depends_on("hdf5", when="+hdf5")
depends_on("hwloc", when="+hwloc")