- Disable SSE2/AVX on x86(32) as we support Pentium Pro as base

- SSE2 only arrived with P-4
- https://fedoraproject.org/wiki/Features/F12X86Support
- Fix ARM macro
This commit is contained in:
Peter Robinson 2014-07-04 11:54:36 +01:00
parent 7b518bf73d
commit 5e1dd963bd

View File

@ -1,6 +1,6 @@
Name: fftw Name: fftw
Version: 3.3.4 Version: 3.3.4
Release: 3%{?dist} Release: 4%{?dist}
Summary: A Fast Fourier Transform library Summary: A Fast Fourier Transform library
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
@ -141,14 +141,14 @@ prec_flags[1]=--enable-double
prec_flags[2]=--enable-long-double prec_flags[2]=--enable-long-double
prec_flags[3]=--enable-quad-precision prec_flags[3]=--enable-quad-precision
%ifarch %{ix86} x86_64 %ifarch x86_64
# Enable SSE2 and AVX support for x86 and x86_64 # Enable SSE2 and AVX support for x86_64
for((i=0;i<2;i++)); do for((i=0;i<2;i++)); do
prec_flags[i]+=" --enable-sse2 --enable-avx" prec_flags[i]+=" --enable-sse2 --enable-avx"
done done
%endif %endif
%ifarch arm %ifarch %{arm}
# Compile support for NEON instructions # Compile support for NEON instructions
for((i=0;i<2;i++)); do for((i=0;i<2;i++)); do
prec_flags[i]+=" --enable-neon" prec_flags[i]+=" --enable-neon"
@ -281,6 +281,12 @@ fi
%{_libdir}/libfftw3*.a %{_libdir}/libfftw3*.a
%changelog %changelog
* Fri Jul 4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.3.4-4
- Disable SSE2/AVX on x86(32) as we support Pentium Pro as base
- SSE2 only arrived with P-4
- https://fedoraproject.org/wiki/Features/F12X86Support
- Fix ARM macro
* Thu Jul 03 2014 Conrad Meyer <cemeyer@uw.edu> - 3.3.4-3 * Thu Jul 03 2014 Conrad Meyer <cemeyer@uw.edu> - 3.3.4-3
- Build with --enable-avx (rhbz# 1114964) - Build with --enable-avx (rhbz# 1114964)