Date: Sat, 08 Jun 2024 06:24:42 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 279585] lang/python311: Improve build times Message-ID: <bug-279585-21822-FQ7IvWYjwp@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279585-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-279585-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody) <python@FreeBSD.org> for maintainer-feedback: Bug 279585: lang/python311: Improve build times https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279585 --- Description --- - Don't build with debug symbols by default, we discard these anyway and it reduces build time with roughly 1/4th (real) on my Tigerlake laptop with LTO enabled. If debug symbols are needed use our framework's WITH_DEBUG switch Tested on 14.0-RELEASE (amd64) With debug symbols (default) 4m29.16s real 6m38.66s user 17.27s sys Without debug symbols (-g) 3m13.45s real 5m9.13s user 16.24s sys - Switch from -flto=3Dthin to lto, there's no parallization so it's actually slower and produces larger binaries With -flto=3Dthin (default) 3m13.45s real 5m9.13s user 16.24s sys -rw-r--r-- 1 root wheel 6332792 Jun 8 07:29 libpython3.11.so.1.0 With -flto 2m42.62s real 4m48.13s user 16.68s sys -rw-r--r-- 1 root wheel 6224104 Jun 8 07:51 libpython3.11.so.1.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279585-21822-FQ7IvWYjwp>