[Buildroot] [PATCH 5/7 v6] package/fftw: enable threads when the tooclhain has them

gwenhael.goavec gwenj at trabucayre.com
Mon Mar 16 15:48:05 UTC 2015


On Mon, 16 Mar 2015 14:54:03 +0100
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> [based on a patch by Guillaume]
> Cc: guillaume william brs <guillaume.bressaix at gmail.com>
> Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
Reviewed-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
> ---
>  package/fftw/fftw.mk | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/fftw/fftw.mk b/package/fftw/fftw.mk
> index 333e13b..a82fca3 100644
> --- a/package/fftw/fftw.mk
> +++ b/package/fftw/fftw.mk
> @@ -23,4 +23,7 @@ FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_USE_SSE2),--enable,--disable)-sse2
>  # ARM optimisations
>  FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_USE_NEON),--enable,--disable)-neon
>  
> +# Generic optimisations
> +FFTW_CONF_OPTS += $(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable,--disable)-threads
> +
>  $(eval $(autotools-package))
> -- 
> 1.9.1
> 


More information about the buildroot mailing list