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:
parent
c0361168a5
commit
9b87b4c8cd
@ -77,7 +77,7 @@ def configure_args(self):
|
|||||||
args.append("--enable-mkl")
|
args.append("--enable-mkl")
|
||||||
else:
|
else:
|
||||||
if "+fftw" in spec:
|
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:
|
if "+lapack" in spec:
|
||||||
args.append("--enable-lapack={0}".format(self.spec["lapack"].prefix))
|
args.append("--enable-lapack={0}".format(self.spec["lapack"].prefix))
|
||||||
# lapack is searched only as `-llapack`, so anything else
|
# lapack is searched only as `-llapack`, so anything else
|
||||||
|
Loading…
Reference in New Issue
Block a user