From c5410bd3337f2c7645e83de4153a568203ea0821 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 28 Sep 2021 19:40:45 -0700 Subject: FFTW: NEON SIMD is float-only (#26321) Fix on Apple Mac M1 (aarch64): ``` configure: error: NEON requires single precision ``` --- var/spack/repos/builtin/packages/fftw/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/fftw/package.py b/var/spack/repos/builtin/packages/fftw/package.py index 845e714bc7..890002b131 100644 --- a/var/spack/repos/builtin/packages/fftw/package.py +++ b/var/spack/repos/builtin/packages/fftw/package.py @@ -122,9 +122,9 @@ class FftwBase(AutotoolsPackage): # Specific SIMD support. # all precisions simd_features = ['sse2', 'avx', 'avx2', 'avx512', 'avx-128-fma', - 'kcvi', 'vsx', 'neon'] + 'kcvi', 'vsx'] # float only - float_simd_features = ['altivec', 'sse'] + float_simd_features = ['altivec', 'sse', 'neon'] # Workaround PGI compiler bug when avx2 is enabled if spec.satisfies('%pgi') and 'avx2' in simd_features: -- cgit v1.2.3-60-g2f50