Build with --enable-avx (rhbz# 1114964)

This commit is contained in:
Conrad Meyer 2014-07-03 13:38:57 -04:00
parent fe2057e72a
commit 7b518bf73d

View File

@ -1,6 +1,6 @@
Name: fftw
Version: 3.3.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A Fast Fourier Transform library
Group: System Environment/Libraries
License: GPLv2+
@ -142,10 +142,9 @@ prec_flags[2]=--enable-long-double
prec_flags[3]=--enable-quad-precision
%ifarch %{ix86} x86_64
# Enable SSE2 support for x86 and x86_64
# (no avx as it is claimed to drastically slower)
# Enable SSE2 and AVX support for x86 and x86_64
for((i=0;i<2;i++)); do
prec_flags[i]+=" --enable-sse2"
prec_flags[i]+=" --enable-sse2 --enable-avx"
done
%endif
@ -282,6 +281,9 @@ fi
%{_libdir}/libfftw3*.a
%changelog
* Thu Jul 03 2014 Conrad Meyer <cemeyer@uw.edu> - 3.3.4-3
- Build with --enable-avx (rhbz# 1114964)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild