There is already a ./configure --with-lto flag, why not using it?

I'm using --with-lto without PGO for months, I never noticed that the
option is fully ignored!

Victor

2017-08-09 9:52 GMT+02:00 Antoine Pitrou <solip...@pitrou.net>:
> On Wed, 9 Aug 2017 13:36:28 +1000
> Nick Coghlan <ncogh...@gmail.com> wrote:
>> On 8 August 2017 at 10:12, Gregory P. Smith <g...@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.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to