From eb1985b40fc8e156eabc260fa024d36fa7c7b90c Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Thu, 3 Nov 2022 13:34:45 -0700 Subject: [PATCH] Enable AVX2 FFTW does runtime detection of CPU features on x86, so this change does not require AVX2 support to use the libraries, but does allow FFTW to use the AVX2 code when the CPU supports it. Signed-off-by: Trent Piepho --- fftw.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fftw.spec b/fftw.spec index a0da8bb..20355f6 100644 --- a/fftw.spec +++ b/fftw.spec @@ -13,7 +13,7 @@ Name: fftw Version: 3.3.10 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A Fast Fourier Transform library License: GPLv2+ URL: http://www.fftw.org @@ -292,7 +292,7 @@ prec_flags[3]=--enable-quad-precision %ifarch x86_64 # Enable SSE2 and AVX support for x86_64 for ((i=0; i<2; i++)) ; do - prec_flags[i]+=" --enable-sse2 --enable-avx" + prec_flags[i]+=" --enable-sse2 --enable-avx --enable-avx2" done %endif @@ -525,6 +525,9 @@ done %endif %changelog +* Mon Mar 27 2023 Trent Piepho - 3.3.10-6 +- Enable AVX2 on x86-86 + * Thu Mar 02 2023 Orion Poplawski - 3.3.10-5 - Use make macros - Drop openmpi vader workaround