Re: We need to do something about build times

From: Piotr Smyrak <ps.ports_at_smyrak.com>
Date: Wed, 25 Oct 2023 18:13:07 UTC
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