Force rocm dependency on hipfft with +rocm is given (#48211)

Make sure that hipfft+rocm is explicit when +rocm is true.

Co-authored-by: Rocco Meli <r.meli@bluemail.ch>
This commit is contained in:
Taillefumier Mathieu 2025-01-27 05:33:31 -05:00 committed by GitHub
parent 0ec00a9c9a
commit b2a75db030
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ class Spfft(CMakePackage, CudaPackage, ROCmPackage):
with when("+rocm"):
depends_on("rocfft")
depends_on("hipfft")
depends_on("hipfft+rocm")
# hip 6.0 requires v1.1.0 and later
conflicts("^hip@6.0.0:", when="@:1.0.6 +rocm")