[fftw] Build with --enable-avx (rhbz# 1114964)

konradm konradm at fedoraproject.org
Thu Jul 3 17:39:43 UTC 2014


commit 7b518bf73d2b8b29dabc8eb068e2a9dd04b9d886
Author: Conrad Meyer <cemeyer at uw.edu>
Date:   Thu Jul 3 13:38:57 2014 -0400

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

 fftw.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/fftw.spec b/fftw.spec
index 961a01c..741d57a 100644
--- a/fftw.spec
+++ b/fftw.spec
@@ -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 at uw.edu> - 3.3.4-3
+- Build with --enable-avx (rhbz# 1114964)
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.3.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list