Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2026 05:58:52 +0000
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Cc:        Piotr Kubaj <pkubaj@FreeBSD.org>
Subject:   git: a4dd19e53326 - 2026Q2 - lang/python314: enable LTO on powerpc64
Message-ID:  <6a2ba01c.448fa.7e5596d9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2026Q2 has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a4dd19e53326517e5227e3ecf3484a5d505d8dd7

commit a4dd19e53326517e5227e3ecf3484a5d505d8dd7
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-05-07 17:33:46 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-06-12 05:52:21 +0000

    lang/python314: enable LTO on powerpc64
    
    Also drop sparc64 conditional.
    
    (cherry picked from commit 425f5fddf0c1346bc3b865e43cb4b986b45e8227)
---
 lang/python314/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/lang/python314/Makefile b/lang/python314/Makefile
index 404a636e7cf6..d3513d47ad73 100644
--- a/lang/python314/Makefile
+++ b/lang/python314/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}  # see Makefile.version
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
 PKGNAMESUFFIX=	${PYTHON_SUFFIX}
@@ -58,7 +58,6 @@ PLIST_SUB=		ABI=${ABIFLAGS} \
 
 OPTIONS_DEFINE=		DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC
 OPTIONS_DEFAULT=	LIBMPDEC LTO PYMALLOC
-OPTIONS_EXCLUDE_powerpc64=	LTO
 OPTIONS_EXCLUDE_riscv64=	LTO
 OPTIONS_RADIO=		HASH
 OPTIONS_RADIO_HASH=	FNV SIPHASH
@@ -109,10 +108,6 @@ PLIST_FILES+=	bin/python${PYTHON_VER}${ABIFLAGS} \
 		libdata/pkgconfig/python-${PYTHON_VER}${ABIFLAGS}-embed.pc
 .endif
 
-.if ${ARCH} == sparc64
-CFLAGS+=	-DPYTHON_DEFAULT_RECURSION_LIMIT=900
-.endif
-
 # See https://bugs.freebsd.org/115940 and https://bugs.freebsd.org/193650
 .if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS)
 PLIST_SUB+=	NO_NIS="@comment "


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a2ba01c.448fa.7e5596d9>