All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/gcc: remove BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
Date: Sun, 21 Oct 2018 14:37:04 +0200	[thread overview]
Message-ID: <de405be3-8aa4-8626-c590-333696895067@gmail.com> (raw)
In-Reply-To: <20181021115415.21471-4-thomas.petazzoni@bootlin.com>

Hi Thomas,

Le 21/10/2018 ? 13:54, Thomas Petazzoni a ?crit?:
> Since commit 8f8e9162fae5fdc1788dcf33f02b20ddaa5e6846 ("package/gcc:
> do not mourn avr32 for too long..."), in which we dropped AVR32
> support, the BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is always
> 'y'. Therefore, it is totally useless to keep this option around, and
> this commit removes it, making the corresponding code unconditional
> along the way.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Reviewed-by: Romain Naour <romain.naour@gmail.com>

Best regards,
Romain

> ---
>  package/gcc/Config.in.host             | 4 ----
>  package/gcc/gcc-initial/gcc-initial.mk | 9 ++-------
>  package/gcc/gcc.mk                     | 5 +----
>  3 files changed, 3 insertions(+), 15 deletions(-)
> 
> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
> index 3bf87fe597..1d4e946f55 100644
> --- a/package/gcc/Config.in.host
> +++ b/package/gcc/Config.in.host
> @@ -72,10 +72,6 @@ config BR2_GCC_VERSION_8_X
>  
>  endchoice
>  
> -config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
> -	bool
> -	default y
> -
>  # libcilkrts was introduced in gcc 4.9 (oldest gcc version we
>  # support), and removed in gcc 8.x
>  config BR2_GCC_SUPPORTS_LIBCILKRTS
> diff --git a/package/gcc/gcc-initial/gcc-initial.mk b/package/gcc/gcc-initial/gcc-initial.mk
> index 9b20eb18f9..d5d925a3d9 100644
> --- a/package/gcc/gcc-initial/gcc-initial.mk
> +++ b/package/gcc/gcc-initial/gcc-initial.mk
> @@ -45,13 +45,8 @@ HOST_GCC_INITIAL_CONF_OPTS = \
>  HOST_GCC_INITIAL_CONF_ENV = \
>  	$(HOST_GCC_COMMON_CONF_ENV)
>  
> -HOST_GCC_INITIAL_MAKE_OPTS = $(HOST_GCC_COMMON_MAKE_OPTS) all-gcc
> -HOST_GCC_INITIAL_INSTALL_OPTS = install-gcc
> -
> -ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
> -HOST_GCC_INITIAL_MAKE_OPTS += all-target-libgcc
> -HOST_GCC_INITIAL_INSTALL_OPTS += install-target-libgcc
> -endif
> +HOST_GCC_INITIAL_MAKE_OPTS = $(HOST_GCC_COMMON_MAKE_OPTS) all-gcc all-target-libgcc
> +HOST_GCC_INITIAL_INSTALL_OPTS = install-gcc install-target-libgcc
>  
>  HOST_GCC_INITIAL_TOOLCHAIN_WRAPPER_ARGS += $(HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS)
>  HOST_GCC_INITIAL_POST_BUILD_HOOKS += TOOLCHAIN_WRAPPER_BUILD
> diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
> index 9e9069ce0e..8b0fec74f1 100644
> --- a/package/gcc/gcc.mk
> +++ b/package/gcc/gcc.mk
> @@ -98,6 +98,7 @@ HOST_GCC_COMMON_CONF_OPTS = \
>  	--with-gnu-ld \
>  	--disable-libssp \
>  	--disable-multilib \
> +	--disable-decimal-float \
>  	--with-gmp=$(HOST_DIR) \
>  	--with-mpc=$(HOST_DIR) \
>  	--with-mpfr=$(HOST_DIR) \
> @@ -195,10 +196,6 @@ HOST_GCC_COMMON_CONF_OPTS += --with-float=soft
>  endif
>  endif
>  
> -ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
> -HOST_GCC_COMMON_CONF_OPTS += --disable-decimal-float
> -endif
> -
>  # Determine arch/tune/abi/cpu options
>  ifneq ($(GCC_TARGET_ARCH),)
>  HOST_GCC_COMMON_CONF_OPTS += --with-arch="$(GCC_TARGET_ARCH)"
> 

  reply	other threads:[~2018-10-21 12:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-21 11:54 [Buildroot] [PATCH 0/3] Misc gcc fixes/improvements Thomas Petazzoni
2018-10-21 11:54 ` [Buildroot] [PATCH 1/3] package/gcc: disable libcilkrts when there is no thread support Thomas Petazzoni
2018-10-21 12:30   ` Romain Naour
2018-10-24 12:37   ` Peter Korsgaard
2018-10-21 11:54 ` [Buildroot] [PATCH 2/3] package/gcc: introduce BR2_GCC_SUPPORTS_LIBCILKRTS Thomas Petazzoni
2018-10-21 12:34   ` Romain Naour
2018-10-21 11:54 ` [Buildroot] [PATCH 3/3] package/gcc: remove BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE Thomas Petazzoni
2018-10-21 12:37   ` Romain Naour [this message]
2018-10-21 14:27 ` [Buildroot] [PATCH 0/3] Misc gcc fixes/improvements Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de405be3-8aa4-8626-c590-333696895067@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.