diff options
author | otsukay <otsukay@gmail.com> | 2022-08-24 18:36:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 11:36:14 +0200 |
commit | 6fa6b8a9031b1c19d471b415bbd2594379a9750e (patch) | |
tree | a76a9dd3c3055def6eaeb969c23407c7ac25c585 /var | |
parent | 14e99a1a5d27221d4a997dadeeacc7a519fa485a (diff) | |
download | spack-6fa6b8a9031b1c19d471b415bbd2594379a9750e.tar.gz spack-6fa6b8a9031b1c19d471b415bbd2594379a9750e.tar.bz2 spack-6fa6b8a9031b1c19d471b415bbd2594379a9750e.tar.xz spack-6fa6b8a9031b1c19d471b415bbd2594379a9750e.zip |
fujitsu-fftw: add option for enabling thread support (#31426)
Co-authored-by: Yuichi Otsuka <otsukay@riken.jp>
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Co-authored-by: otsukay <otsukay@users.noreply.github.com>
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: |