]> git.ipfire.org Git - thirdparty/valgrind.git/commit
configure: drop -flto-partition=one
authorSam James <sam@gentoo.org>
Mon, 22 Jul 2024 11:26:39 +0000 (12:26 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 24 Jul 2024 09:59:55 +0000 (11:59 +0200)
commit41a9896f9a91c0e1e44edf3aeff90b6f42f5c132
tree24101a61067e8a4e30333fb344c77650d9a2574d
parent797c4b049e7b49176f4f155e00353837e4197d69
configure: drop -flto-partition=one

For me, -flto-partition=one takes ~35m to build + test, while the default
(which is 'balanced') takes ~5m.

The reason that -flto-partition=one is slower is because it disables all
of gcc's LTO parallelisation. This can produce better code, at the cost
of (far) more expensive build times. If users want that, they can still
pass it in their *FLAGS, but I don't think it's a suitable default.

This was originally added in ab773096df7aaaf46e8883af5ed4690f4d4499af.

https://bugs.kde.org/show_bug.cgi?id=490651
NEWS
configure.ac