Date: Mon, 24 Jun 2024 22:18:07 +0200 From: Piotr Kubaj <pkubaj@anongoth.pl> To: Daniel Engberg <diizzy@freebsd.org> 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: <ZnnUf8YWgTZCTQ2F@KGPE-D16> In-Reply-To: <202406231838.45NIcoh0044586@gitrepo.freebsd.org> References: <202406231838.45NIcoh0044586@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <diizzy@FreeBSD.org> >AuthorDate: 2024-06-23 17:48:15 +0000 >Commit: Daniel Engberg <diizzy@FreeBSD.org> >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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZnnUf8YWgTZCTQ2F>