git: 9c6b74370b44 - main - lang/gcc11-devel: update to the newest snapshot and disable LTO on armv6/7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 18:10:17 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9c6b74370b44eaf613d26417185ceeb3a861d292
commit 9c6b74370b44eaf613d26417185ceeb3a861d292
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-05-06 18:01:41 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-05-06 18:01:41 +0000
lang/gcc11-devel: update to the newest snapshot and disable LTO on armv6/7
PR: 261977
---
lang/gcc11-devel/Makefile | 23 +++++++++++++++++------
lang/gcc11-devel/distinfo | 6 +++---
2 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/lang/gcc11-devel/Makefile b/lang/gcc11-devel/Makefile
index f566c7ef3abd..9357061adf14 100644
--- a/lang/gcc11-devel/Makefile
+++ b/lang/gcc11-devel/Makefile
@@ -1,7 +1,7 @@
# Created by: Gerald Pfeifer <gerald@FreeBSD.org>
PORTNAME= gcc
-PORTVERSION= 11.2.1.s20220409
+PORTVERSION= 11.3.1.s20220429
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
@@ -43,9 +43,17 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/}
CFLAGS:= ${CFLAGS:N-mretpoline}
CXXFLAGS:= ${CXXFLAGS:N-mretpoline}
-OPTIONS_DEFINE= BOOTSTRAP GRAPHITE
-OPTIONS_DEFAULT= BOOTSTRAP
-BOOTSTRAP_DESC= Build using a full bootstrap
+OPTIONS_DEFINE= GRAPHITE
+OPTIONS_DEFAULT_aarch64=LTO_BOOTSTRAP
+OPTIONS_DEFAULT_amd64= LTO_BOOTSTRAP
+OPTIONS_DEFAULT_i386= LTO_BOOTSTRAP
+OPTIONS_DEFAULT_powerpc=LTO_BOOTSTRAP
+OPTIONS_DEFAULT_powerpc64=LTO_BOOTSTRAP
+OPTIONS_DEFAULT_powerpc64le=LTO_BOOTSTRAP
+OPTIONS_RADIO= BOOTSTRAP
+OPTIONS_RADIO_BOOTSTRAP= LTO_BOOTSTRAP STANDARD_BOOTSTRAP
+LTO_BOOTSTRAP_DESC= Build using a full LTO bootstrap
+STANDARD_BOOTSTRAP_DESC= Build using a full bootstrap without LTO
GRAPHITE_DESC= Support for Graphite loop optimizations
.if exists(/usr/lib32/libc.so)
@@ -74,11 +82,14 @@ TARGLIB32= ${PREFIX}/lib32 # The version information is added later
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
GNU_CONFIGURE= yes
CONFIGURE_OUTSOURCE= yes
-.if empty(PORT_OPTIONS:MBOOTSTRAP)
+.if empty(PORT_OPTIONS:M*BOOTSTRAP)
CONFIGURE_ARGS+=--disable-bootstrap
-.else
+.elif ${PORT_OPTIONS:MLTO_BOOTSTRAP}
CONFIGURE_ARGS+=--with-build-config=bootstrap-lto-noplugin
ALL_TARGET= bootstrap-lean
+.else
+CONFIGURE_ARGS+=--with-build-config=bootstrap-debug
+ALL_TARGET= bootstrap-lean
.endif
INSTALL_TARGET= install-strip
.if ${UID} != 0
diff --git a/lang/gcc11-devel/distinfo b/lang/gcc11-devel/distinfo
index c6724d3aa395..c7c38b29c858 100644
--- a/lang/gcc11-devel/distinfo
+++ b/lang/gcc11-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1649882659
-SHA256 (gcc-11-20220409.tar.xz) = 97f3179a4a18f9df80075423cce3e807d009c14b797062c13031c520b3c451e6
-SIZE (gcc-11-20220409.tar.xz) = 75729496
+TIMESTAMP = 1651859797
+SHA256 (gcc-11-20220429.tar.xz) = d916b04b3b1e3ab67960967f6d49da64af76e43a04d0c66374bb1dfa694b5829
+SIZE (gcc-11-20220429.tar.xz) = 75755296