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:
parent
0ec00a9c9a
commit
b2a75db030
@ -63,7 +63,7 @@ class Spfft(CMakePackage, CudaPackage, ROCmPackage):
|
|||||||
|
|
||||||
with when("+rocm"):
|
with when("+rocm"):
|
||||||
depends_on("rocfft")
|
depends_on("rocfft")
|
||||||
depends_on("hipfft")
|
depends_on("hipfft+rocm")
|
||||||
# hip 6.0 requires v1.1.0 and later
|
# hip 6.0 requires v1.1.0 and later
|
||||||
conflicts("^hip@6.0.0:", when="@:1.0.6 +rocm")
|
conflicts("^hip@6.0.0:", when="@:1.0.6 +rocm")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user