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>
This commit is contained in:
otsukay 2022-08-24 18:36:14 +09:00 committed by GitHub
parent 14e99a1a5d
commit 6fa6b8a903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 @@ def configure(self, spec, prefix):
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: