Date: Sun, 26 Feb 2023 14:58:12 +0100 From: Matthias Andree <matthias.andree@tu-dortmund.de> To: Jan Beich <jbeich@FreeBSD.org> Cc: Piotr Kubaj <pkubaj@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: c8c2d4f22536 - main - lang/python3: allow using LTO on powerpc64 Message-ID: <1944cb87-31ec-2094-ec41-6919e917c4ad@tu-dortmund.de> In-Reply-To: <cz5w-ilhy-wny@FreeBSD.org> References: <202302241548.31OFmQ39049727@gitrepo.freebsd.org> <98e988fa-9c8b-abee-8357-1cacd7462014@tu-dortmund.de> <cz5w-ilhy-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 26.02.23 um 14:50 schrieb Jan Beich: > Matthias Andree <matthias.andree@tu-dortmund.de> writes: > >> Am 24.02.23 um 16:48 schrieb Piotr Kubaj: >> >>> The branch main has been updated by pkubaj: >>> URL: >>> https://cgit.FreeBSD.org/ports/commit/?id=c8c2d4f2253694802ef720f098c57800570ad2fc >>> commit c8c2d4f2253694802ef720f098c57800570ad2fc >>> Author: Piotr Kubaj <pkubaj@FreeBSD.org> >>> AuthorDate: 2023-02-24 15:48:16 +0000 >>> Commit: Piotr Kubaj <pkubaj@FreeBSD.org> >>> CommitDate: 2023-02-24 15:48:16 +0000 >>> lang/python3: allow using LTO on powerpc64 >>> It was recently fixed and will be available in >>> 13.2-RELEASE. >>> Since LTO is not enabled by default, it's ok to make it available. >> >> Careful. LTO causes EXCESSIVE memory use for the build. >> I've had to disable it for a low-memory server I operate (amd64 based, >> but that's the LTO feature itself, not the CPU). > > Are you sure 570Mb RAM is EXCESSIVE for amd64 ? For example, I certainly could not build the default Python a few months ago on 1 GB RAM + 1 GB swap. Possibly this was allowing a small number of jobs (like 2 or 3) on a single-core vServer. For the big things (compilers) you want some parallelism because half a dozen threads is better than just 1. Especially on server-class hardware which has low clock rates and many cores.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1944cb87-31ec-2094-ec41-6919e917c4ad>