[Buildroot] [PATCH 2/7 v5] package/fftw: add x86 optimisations

Yann E. MORIN yann.morin.1998 at free.fr
Mon Mar 16 00:31:42 UTC 2015


Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
Cc: guillaume william brs <guillaume.bressaix at gmail.com>
---
 package/fftw/fftw.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/fftw/fftw.mk b/package/fftw/fftw.mk
index 78d36e9..fd21fd4 100644
--- a/package/fftw/fftw.mk
+++ b/package/fftw/fftw.mk
@@ -14,4 +14,8 @@ FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_PRECISION_SINGLE),--enable,--disable)-
 FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE),--enable,--disable)-long-double
 FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_PRECISION_QUAD),--enable,--disable)-quad-precision
 
+# x86 optimisations
+FFTW_CONF_OPTS += $(if $(BR2_X86_CPU_HAS_SSE),--enable,--disable)-sse
+FFTW_CONF_OPTS += $(if $(BR2_X86_CPU_HAS_SSE2),--enable,--disable)-sse2
+
 $(eval $(autotools-package))
-- 
1.9.1




More information about the buildroot mailing list