grid: reference fftw-api instead of fftw (#33374)

This makes it possible to compile with, e.g., `cray-fftw`, not just `fftw`.
This commit is contained in:
Mosè Giordano 2022-10-17 21:06:15 +01:00 committed by GitHub
parent c0361168a5
commit 9b87b4c8cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ def configure_args(self):
args.append("--enable-mkl")
else:
if "+fftw" in spec:
args.append("--with-fftw={0}".format(self.spec["fftw"].prefix))
args.append("--with-fftw={0}".format(self.spec["fftw-api"].prefix))
if "+lapack" in spec:
args.append("--enable-lapack={0}".format(self.spec["lapack"].prefix))
# lapack is searched only as `-llapack`, so anything else