From f6013114ebc456ad93306a2d77a6bb013db3ebe6 Mon Sep 17 00:00:00 2001 From: Cristian Di Pietrantonio Date: Wed, 9 Aug 2023 20:03:15 +0800 Subject: [PATCH] nwchem: make sure to link both single and double precision fftw libraries. (#39333) With the previous version of the recipe I would get linking errors due to missing `-lfftw3f`. Co-authored-by: Cristian Di Pietrantonio --- var/spack/repos/builtin/packages/nwchem/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/nwchem/package.py b/var/spack/repos/builtin/packages/nwchem/package.py index aeb55ab319..e87bb64464 100644 --- a/var/spack/repos/builtin/packages/nwchem/package.py +++ b/var/spack/repos/builtin/packages/nwchem/package.py @@ -59,7 +59,7 @@ def install(self, spec, prefix): scalapack = spec["scalapack"].libs lapack = spec["lapack"].libs blas = spec["blas"].libs - fftw = spec["fftw-api"].libs + fftw = spec["fftw-api:double,float"].libs # see https://nwchemgit.github.io/Compiling-NWChem.html args = [] args.extend(