gromacs: Improve HeFFTe dependency (#47805)
GROMACS supports HeFFTe with either SYCL or CUDA build and requires a matching HeFFTe build
This commit is contained in:
parent
eecd4afe58
commit
38a2f9c2f2
@ -114,9 +114,11 @@ class Gromacs(CMakePackage, CudaPackage):
|
|||||||
variant(
|
variant(
|
||||||
"heffte",
|
"heffte",
|
||||||
default=False,
|
default=False,
|
||||||
when="@2021: +sycl+mpi",
|
when="@2021: +mpi",
|
||||||
description="Enable multi-GPU FFT support with HeFFTe",
|
description="Enable multi-GPU FFT support with HeFFTe",
|
||||||
)
|
)
|
||||||
|
depends_on("heffte +cuda", when="+heffte +cuda")
|
||||||
|
depends_on("heffte +sycl", when="+heffte +sycl")
|
||||||
variant("opencl", default=False, description="Enable OpenCL support")
|
variant("opencl", default=False, description="Enable OpenCL support")
|
||||||
variant("sycl", default=False, when="@2021: %clang", description="Enable SYCL support")
|
variant("sycl", default=False, when="@2021: %clang", description="Enable SYCL support")
|
||||||
variant(
|
variant(
|
||||||
|
Loading…
Reference in New Issue
Block a user