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:
parent
14e99a1a5d
commit
6fa6b8a903
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user