spfft: update to use oneapi packages (#49311)

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Massimiliano Culpo 2025-03-10 08:32:49 +01:00 committed by GitHub
parent 8c3ac352b7
commit 47c6fb750a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,9 +104,9 @@ def cmake_args(self):
"-DHIP_CXX_COMPILER={0}".format(self.spec["hip"].hipcc),
]
if "fftw" in spec:
args += ["-DSPFFT_FFTW_LIB=FFTW"]
elif "intel-mkl" in spec:
if spec.satisfies("^[virtuals=fftw-api] intel-oneapi-mkl"):
args += ["-DSPFFT_FFTW_LIB=MKL"]
else:
args += ["-DSPFFT_FFTW_LIB=FFTW"]
return args