diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/fftw/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/fftw/package.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/fftw/package.py b/var/spack/repos/builtin/packages/fftw/package.py index f6a5e83908..d22dd42c62 100644 --- a/var/spack/repos/builtin/packages/fftw/package.py +++ b/var/spack/repos/builtin/packages/fftw/package.py @@ -1,4 +1,4 @@ -# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) @@ -111,9 +111,14 @@ class FftwBase(AutotoolsPackage): # float only float_simd_features = ['altivec', 'sse'] - # Workaround NVIDIA compiler bug when avx512 is enabled - if spec.satisfies('%nvhpc') and 'avx512' in simd_features: - simd_features.remove('avx512') + # Workaround PGI compiler bug when avx2 is enabled + if spec.satisfies('%pgi') and 'avx2' in simd_features: + simd_features.remove('avx2') + + # Workaround NVIDIA/PGI compiler bug when avx512 is enabled + if spec.satisfies('%nvhpc') or spec.satisfies('%pgi'): + if 'avx512' in simd_features: + simd_features.remove('avx512') # NVIDIA compiler does not support Altivec intrinsics if spec.satisfies('%nvhpc') and 'vsx' in simd_features: @@ -202,6 +207,7 @@ class Fftw(FftwBase): url = "http://www.fftw.org/fftw-3.3.4.tar.gz" list_url = "http://www.fftw.org/download.html" + version('3.3.9', sha256='bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d') version('3.3.8', sha256='6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303') version('3.3.7', sha256='3b609b7feba5230e8f6dd8d245ddbefac324c5a6ae4186947670d9ac2cd25573') version('3.3.6-pl2', sha256='a5de35c5c824a78a058ca54278c706cdf3d4abba1c56b63531c2cb05f5d57da2') |