Re: git: 41870b7b7d04 - main - lang/gcc{12,13}: Switch back to standard bootstrap

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Sun, 04 Feb 2024 11:32:07 UTC
It takes less than an hour to build. It tooked more that 2 hours before
this change.

Thanks!

Lorenzo Salvadore <salvadore@freebsd.org> escreveu (sábado, 3/02/2024 à(s)
09:57):

> The branch main has been updated by salvadore:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=41870b7b7d042523cff7d8fe3abde24f5a394804
>
> commit 41870b7b7d042523cff7d8fe3abde24f5a394804
> Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
> AuthorDate: 2023-11-07 10:59:49 +0000
> Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
> CommitDate: 2024-02-03 09:57:04 +0000
>
>     lang/gcc{12,13}: Switch back to standard bootstrap
>
>     Switch back to STANDARD_BOOTSTRAP on i386, amd64 and aarch64 as default
>     option instead of LTO_BOOTSTRAP, forwarding the changes already
> commited
>     in the devel ports (commits daf12c76bd531335f58e7602afd3bc8da8fc5c33,
>     872d61f8ead10a6d935117876cf60057a46770ff, and
>     da4cb11216a7ed594d5dc453deb4693b48c3c7e9) and in lang/gcc11 (commit
>     3e0fc5e7607d30400bfb3d5a7b3d1b77e1a6699a)
>
>     Users wanting to use LTO_BOOTSTRAP can still enable the option
> manually.
>
>     PR:             273397
>     Tested by:      exp-run (antoine)
> ---
>  lang/gcc12/Makefile | 8 ++++----
>  lang/gcc13/Makefile | 8 ++++----
>  2 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/lang/gcc12/Makefile b/lang/gcc12/Makefile
> index f7a1f1c239ca..6b84bc733f67 100644
> --- a/lang/gcc12/Makefile
> +++ b/lang/gcc12/Makefile
> @@ -1,6 +1,6 @@
>  PORTNAME=      gcc
>  PORTVERSION=   12.2.0
> -PORTREVISION=  8
> +PORTREVISION=  9
>  CATEGORIES=    lang
>  MASTER_SITES=  GCC
>  PKGNAMESUFFIX= ${SUFFIX}
> @@ -37,9 +37,9 @@ CFLAGS:=      ${CFLAGS:N-mretpoline}
>  CXXFLAGS:=     ${CXXFLAGS:N-mretpoline}
>
>  OPTIONS_DEFINE=                GRAPHITE
> -OPTIONS_DEFAULT_aarch64=LTO_BOOTSTRAP
> -OPTIONS_DEFAULT_amd64= LTO_BOOTSTRAP
> -OPTIONS_DEFAULT_i386=  LTO_BOOTSTRAP
> +OPTIONS_DEFAULT_aarch64=STANDARD_BOOTSTRAP
> +OPTIONS_DEFAULT_amd64= STANDARD_BOOTSTRAP
> +OPTIONS_DEFAULT_i386=  STANDARD_BOOTSTRAP
>  OPTIONS_DEFAULT_powerpc=LTO_BOOTSTRAP
>  OPTIONS_DEFAULT_powerpc64=     LTO_BOOTSTRAP
>  OPTIONS_DEFAULT_powerpc64le=   LTO_BOOTSTRAP
> diff --git a/lang/gcc13/Makefile b/lang/gcc13/Makefile
> index bdefea649447..4edd71bb7c29 100644
> --- a/lang/gcc13/Makefile
> +++ b/lang/gcc13/Makefile
> @@ -1,6 +1,6 @@
>  PORTNAME=      gcc
>  PORTVERSION=   13.2.0
> -PORTREVISION=  3
> +PORTREVISION=  4
>  CATEGORIES=    lang
>  MASTER_SITES=  GCC
>  PKGNAMESUFFIX= ${SUFFIX}
> @@ -38,9 +38,9 @@ CFLAGS:=      ${CFLAGS:N-mretpoline}
>  CXXFLAGS:=     ${CXXFLAGS:N-mretpoline}
>
>  OPTIONS_DEFINE=                GRAPHITE
> -OPTIONS_DEFAULT_aarch64=LTO_BOOTSTRAP
> -OPTIONS_DEFAULT_amd64= LTO_BOOTSTRAP
> -OPTIONS_DEFAULT_i386=  LTO_BOOTSTRAP
> +OPTIONS_DEFAULT_aarch64=STANDARD_BOOTSTRAP
> +OPTIONS_DEFAULT_amd64= STANDARD_BOOTSTRAP
> +OPTIONS_DEFAULT_i386=  STANDARD_BOOTSTRAP
>  OPTIONS_DEFAULT_powerpc64=LTO_BOOTSTRAP
>  OPTIONS_DEFAULT_powerpc64le=LTO_BOOTSTRAP
>  OPTIONS_RADIO= BOOTSTRAP
>


-- 
Nuno Teixeira
FreeBSD Committer (ports)