Date: Wed, 25 Oct 2023 20:13:07 +0200 From: Piotr Smyrak <ps.ports@smyrak.com> To: fuz@freebsd.org Cc: Lorenzo Salvadore <developer@lorenzosalvadore.it>, ports@freebsd.org Subject: Re: We need to do something about build times Message-ID: <20231025201307.6c6cf513@daleth.home> In-Reply-To: <ZTgn0SZuFXsUDnU5@fuz.su> References: <ZTgXDSmpAq6lpT3f@fuz.su> <mr-ZfzDI6LnKXUiMwCbZaHnhR6PWuHdXBIFrJRrXWU1wXiykghYHlSGtB0FicDHypxbLxcG81Sk12NI65HbxXtOwqF7TnkrIHebxsZJqFcI=@lorenzosalvadore.it> <ZTgn0SZuFXsUDnU5@fuz.su>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Oct 2023 22:23:45 +0200 fuz@freebsd.org wrote: > Am Tue, Oct 24, 2023 at 08:11:29PM +0000 schrieb Lorenzo Salvadore: > > Disabling LTO_BOOTSTRAP option by default has > > already been done for the devel ports on the i386, amd64 > > and aarch64 architectures (so for all tier 1 platforms): > > https://cgit.freebsd.org/ports/commit/?id=daf12c76bd531335f58e7602afd3bc8da8fc5c33 > > The same is about to be done for the production ports > > too as part of a larger update: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273397 > > This is great news and I hope sincerely that this change will be > applied to all ports. > > > However, please note that LTO_BOOTSTRAP is an option: > > if the build times are too long for you, you can disable > > the option. The option has been enabled by default to > > distribute optimized packages, not because it is recommend > > to build the port with that option enabled. Actually, I even > > wrote a warning about it in pkg-help. > > As mentioned earlier, it is impossible for me to know if non-default > build options have any effect downstream, so for acceptance testing > (i.e. testing before I commit an update), I don't think I should use > any non-default options. I don't think port option defaults by design reflect upstream choices. You shall be free to set them. The project even enforces a bunch of options on if they pop up in a Makefile. -- Piotr Smyrak
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20231025201307.6c6cf513>