magma@master: add python dependency (#38341)

This commit is contained in:
Satish Balay 2023-06-14 17:15:40 -05:00 committed by GitHub
parent e3e7609af4
commit e7ede86733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ class Magma(CMakePackage, CudaPackage, ROCmPackage):
depends_on("cuda@8:", when="@2.5.1: +cuda") # See PR #14471 depends_on("cuda@8:", when="@2.5.1: +cuda") # See PR #14471
depends_on("hipblas", when="+rocm") depends_on("hipblas", when="+rocm")
depends_on("hipsparse", when="+rocm") depends_on("hipsparse", when="+rocm")
depends_on("python", when="@master", type="build")
conflicts("~cuda", when="~rocm", msg="Either CUDA or HIP support must be enabled") conflicts("~cuda", when="~rocm", msg="Either CUDA or HIP support must be enabled")
conflicts("+rocm", when="+cuda", msg="CUDA must be disabled to support HIP (ROCm)") conflicts("+rocm", when="+cuda", msg="CUDA must be disabled to support HIP (ROCm)")