[Python-Dev] first post introduction and question regarding lto
Antoine Pitrou
solipsis at pitrou.net
Wed Aug 9 03:52:52 EDT 2017
On Wed, 9 Aug 2017 13:36:28 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> On 8 August 2017 at 10:12, Gregory P. Smith <greg at krypto.org> wrote:
> > I don't know whether it is beneficial or not - but having the capability to
> > build LTO without PGO seems reasonable. I can review any pull requests
> > altering configure.ac and Makefile.pre.in to make such a change.
>
> Being able to separate them seems useful even if it's just from the
> performance research perspective of comparing "PGO only", "LTO only"
> and "PGO+LTO".
That does not mean "LTO only" deserves a configure option, though. PGO
is difficult to set up manually so it's fair that we provide dedicated
build support for it. LTO should just be a matter of tweaking CFLAGS
and LDFLAGS.
Regards
Antoine.
More information about the Python-Dev
mailing list