git: fb5f03a87cf4 - main - Mk/bsd.lto.mk: add global LTO support for ports

Alexey Dokuchaev danfe at freebsd.org
Sun Oct 3 05:02:21 UTC 2021


On Thu, Sep 30, 2021 at 06:34:20PM +0000, Piotr Kubaj wrote:
> commit fb5f03a87cf432751fae1f0ae7f29c9d4fc65917
> 
>     Mk/bsd.lto.mk: add global LTO support for ports
>     
>     It's well known that LTO provides both performance and size benefits
>     for binaries.

It's also well known that it may easily require tens (or is it hundreds
these days already?) gigs of RAM which pretty much rules out regular
users who build ports on their commodity laptops and desktops with ~4-8
GB worth of RAM.

>     Add preliminary, opt-in support for global LTO enforcement to ports.

That said, thanks for making it opt-in.

./danfe


More information about the dev-commits-ports-all mailing list