spfft: update to use oneapi packages (#49311)
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
8c3ac352b7
commit
47c6fb750a
@ -104,9 +104,9 @@ def cmake_args(self):
|
|||||||
"-DHIP_CXX_COMPILER={0}".format(self.spec["hip"].hipcc),
|
"-DHIP_CXX_COMPILER={0}".format(self.spec["hip"].hipcc),
|
||||||
]
|
]
|
||||||
|
|
||||||
if "fftw" in spec:
|
if spec.satisfies("^[virtuals=fftw-api] intel-oneapi-mkl"):
|
||||||
args += ["-DSPFFT_FFTW_LIB=FFTW"]
|
|
||||||
elif "intel-mkl" in spec:
|
|
||||||
args += ["-DSPFFT_FFTW_LIB=MKL"]
|
args += ["-DSPFFT_FFTW_LIB=MKL"]
|
||||||
|
else:
|
||||||
|
args += ["-DSPFFT_FFTW_LIB=FFTW"]
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user