diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2021-09-28 19:40:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 02:40:45 +0000 |
commit | c5410bd3337f2c7645e83de4153a568203ea0821 (patch) | |
tree | 40300cb97afa955c873ac1bcf080b577d478d547 | |
parent | c578882bb2acf277659340b5203ce6d4f1f1b13f (diff) | |
download | spack-c5410bd3337f2c7645e83de4153a568203ea0821.tar.gz spack-c5410bd3337f2c7645e83de4153a568203ea0821.tar.bz2 spack-c5410bd3337f2c7645e83de4153a568203ea0821.tar.xz spack-c5410bd3337f2c7645e83de4153a568203ea0821.zip |
FFTW: NEON SIMD is float-only (#26321)
Fix on Apple Mac M1 (aarch64):
```
configure: error: NEON requires single precision
```
-rw-r--r-- | var/spack/repos/builtin/packages/fftw/package.py | 4 |
1 files 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: |