From nobody Mon Jun 24 20:18:07 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W7K515XcLz5PZtD; Mon, 24 Jun 2024 20:17:25 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W7K4z3mr0z40nx; Mon, 24 Jun 2024 20:17:23 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=anongoth.pl header.s=ANONGOTH header.b=qtyFXMJP; dmarc=pass (policy=reject) header.from=anongoth.pl; spf=pass (mx1.freebsd.org: domain of pkubaj@anongoth.pl designates 46.248.190.61 as permitted sender) smtp.mailfrom=pkubaj@anongoth.pl Received: from anongoth.pl (unknown [192.168.1.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id A022E4F9E3; Mon, 24 Jun 2024 22:17:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=anongoth.pl; s=ANONGOTH; t=1719260232; bh=yYw9gPBzUtLU6P1//vVUOtQVkRyqOvxu6kH2nKGmq+U=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=qtyFXMJPjh7iC9D1iLCZ5Upvk0mw2KiJGkvR+S+RpDllBa5+pZM2mQOJEFLSdTSoY 2ExQBW4q9lHeBHhP+zMNwPIaddmSJEiycBu06tbyBNoIKI5YEQct2uyl+6hovbwEAl 56kSRADLIiTSJx126dnwBDlDCxbkMToMh2zhKWk/VRuYelbzDyotgzj8WIBvB6qy2Q ZxkivKUzLnUvcUO1rjJbjOE1F1LKcXa9peLC8PDHheO/Mj9VfRv1GpWD8NKziPArd3 sNPpgNsn0SJTaEhMXfUVY7Z7q0cLm5ZyP0om0+CXG5sARSqboEGWHdlxX7X866OJNU hFyU0Vyr9UzwQ== Date: Mon, 24 Jun 2024 22:18:07 +0200 From: Piotr Kubaj To: Daniel Engberg Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: a7cf5f2a3a2c - main - lang/python311: Improve build times Message-ID: References: <202406231838.45NIcoh0044586@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="M5UotXS28E428TyU" Content-Disposition: inline In-Reply-To: <202406231838.45NIcoh0044586@gitrepo.freebsd.org> X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.60 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[anongoth.pl,reject]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:46.248.190.61]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[anongoth.pl:s=ANONGOTH]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:47544, ipnet:46.248.160.0/19, country:PL]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; FREEFALL_USER(0.00)[pkubaj]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[anongoth.pl:+] X-Rspamd-Queue-Id: 4W7K4z3mr0z40nx --M5UotXS28E428TyU Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline LTO is default enabled, you should bump PORTREVISION. On 24-06-23 18:38:50, Daniel Engberg wrote: >The branch main has been updated by diizzy: > >URL: https://cgit.FreeBSD.org/ports/commit/?id=a7cf5f2a3a2c8adb21d4cdb5a8ed6dd48a636b5d > >commit a7cf5f2a3a2c8adb21d4cdb5a8ed6dd48a636b5d >Author: Daniel Engberg >AuthorDate: 2024-06-23 17:48:15 +0000 >Commit: Daniel Engberg >CommitDate: 2024-06-23 18:19:18 +0000 > > lang/python311: Improve build times > > Don't generate debug symbols by default, we discard these anyway and on my > Tigerlake laptop it reduces build time roughly by 25% with LTO enabled > Switch from -flto=thin to (fat)lto, there's no parallization so it's > actually slower and produces slightly larger binaries > > PR: 279585 > Approved by: portmgr (maintainer timeout, 2+ weeks) >--- > lang/python311/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/lang/python311/Makefile b/lang/python311/Makefile >index f2b04ef29cc9..c996da90018c 100644 >--- a/lang/python311/Makefile >+++ b/lang/python311/Makefile >@@ -28,7 +28,7 @@ SHEBANG_FILES+= Lib/test/ziptestdata/exe_with_z64 \ > DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm > CONFIGURE_ARGS+= --enable-shared --without-ensurepip \ > --with-system-ffi >-CONFIGURE_ENV+= OPT="" # Null out OPT to respect user CFLAGS and remove optimizations >+CONFIGURE_ENV+= OPT="" ac_cv_prog_cc_g=false # Null out OPT to respect user CFLAGS and remove optimizations > > INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files > >@@ -68,7 +68,7 @@ IPV6_CONFIGURE_ENABLE= ipv6 > LIBMPDEC_CONFIGURE_ON= --with-system-libmpdec > LIBMPDEC_LIB_DEPENDS= libmpdec.so:math/mpdecimal > >-LTO_CONFIGURE_ON= --with-lto=thin >+LTO_CONFIGURE_ON= --with-lto > > # Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat > # to break in Python 2.7, or preprocessor complaints in Python >= 3.3 --M5UotXS28E428TyU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJkBAABCgBOFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmZ51H8wFIAAAAAAFQAS cGthLWFkZHJlc3NAZ251cGcub3JncGt1YmFqQGFub25nb3RoLnBsAAoJEHpZm4Ug g5yd0C8P/RpmTW+fOhLrTCjyhCfzpAWeH2ADunF8r2hERCifYte76kdDQqb0fK/g 1JADHLEpoJaad08daSofB/Wf+o20NXoxC4iNVEyAR0r7NQKN/fvOtEVJLNeEzN9h fmb/IuGgLsYFcal3lWeOLaDBBkB89tj2OJft74mK2vHtm2KAl8y5ftz61YnLxvpJ /SaYSrna6vyqNs6BLL5ET5wGeRA4ocsXfrO4tw9YFs8boyf9BtqcBdJ+8JEeYzrA h5P7AwAmgnFoDw9D+vodWWw8qB/qp4YrRJ/IJokSJhSAhI+KSvfAj20cP7B+Ed8O JukI02RqgIBs6Dmohh+OLZwxBlt8RVPrYLLnvyeFHtOuJmAmGElHVVZTLRIKGI+U 0BSoW2NT//Y5gJ61Cnf14hOmBeWxoSTNpMMuaa+Jmuk90rwpMRYublo55leCm1Uw RejOkW1Im+rmNz4Qgsd1OrgkGXk4KlTL6nT3k/jI/9UwLn0PjCerKo6lj4k8qXI2 7+ZHfwNnqh5dqpT8yBOEpmEar0jDkU79Dhzh6NLNSvujSrUKT/rCLmfw+sJA+6SW UfoLZvx5Ju6akWcrl0uCvZabWx4AjofL9STeEfgWyRKu1z/wU/DescpkelDKl/T8 Ms1xPg5PMbeIG9SENnXe3afPRyv6mKxXTMrCTdXUlM6tZbPSQiDB =NRXP -----END PGP SIGNATURE----- --M5UotXS28E428TyU--