diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/fujitsu-fftw/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fujitsu-fftw/package.py b/var/spack/repos/builtin/packages/fujitsu-fftw/package.py index 7d859c1baa..558e1067de 100644 --- a/var/spack/repos/builtin/packages/fujitsu-fftw/package.py +++ b/var/spack/repos/builtin/packages/fujitsu-fftw/package.py @@ -33,6 +33,7 @@ class FujitsuFftw(FftwBase): homepage = "https://github.com/fujitsu/fftw3" url = "https://github.com/fujitsu/fftw3/archive/sve-v1.0.0.tar.gz" + version("1.1.0", sha256="47b01a20846802041a9533a115f816b973cc9b15b3e827a2f0caffaae34a6c9d") version("1.0.0", sha256="b5931e352355d8d1ffeb215922f4b96de11b8585c423fceeaffbf3d5436f6f2f") variant("shared", default=True, description="Builds a shared version of the library") @@ -94,6 +95,11 @@ class FujitsuFftw(FftwBase): else: options.append("--disable-openmp") + if "+threads" in spec: + options.append("--enable-threads") + else: + options.append("--disable-threads") + if "+mpi" in spec: options.append("--enable-mpi") else: |