[Buildroot] [PATCH 4/7 v6] package/fftw: disable fortran

gwenhael.goavec gwenj at trabucayre.com
Mon Mar 16 15:46:41 UTC 2015


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

> We do not have any fortran package and we do not build a fortran
> compiler.
> 
> Still, an external toolchain may have a fortran compiler and that is
> totally useless to us, since we anyway have no fortran package...
> 
> So, entirely disable fortran support; that will at least slightly speed
> up the build in case an external toolchain has a fortran compiler.
> 
> 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 | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/fftw/fftw.mk b/package/fftw/fftw.mk
> index be99210..333e13b 100644
> --- a/package/fftw/fftw.mk
> +++ b/package/fftw/fftw.mk
> @@ -10,6 +10,8 @@ FFTW_INSTALL_STAGING = YES
>  FFTW_LICENSE = GPLv2+
>  FFTW_LICENSE_FILES = COPYING
>  
> +FFTW_CONF_OPTS = --disable-fortran
> +
>  FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_PRECISION_SINGLE),--enable,--disable)-single
>  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
> -- 
> 1.9.1
> 



More information about the buildroot mailing list