Author vstinner
Recipients cstratak, dstufft, eric.araujo, hroncok, ned.deily, vstinner
Date 2018-12-14.18:07:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544810878.55.0.788709270274.issue35257@psf.upfronthosting.co.za>
In-reply-to
Content
There are multiple ways to configure and build Python, we should try most combinations:

* ./configure --enable-shared
* ./configure --with-lto
* ./configure --enable-optimizations
* make profile-opt
* make
* Maybe also: make install

Test:

* Build Python and make sure that python binary and C extensions (of the stdlib) are compiled with LTO
* python-config --cflags and python-config --ldflags don't leak LTO flags
* Build a C extension (Pillow) and check that there is no LTO flag in the command lines

I'm not how to test cross-compilation :-(
History
Date User Action Args
2018-12-14 18:07:58vstinnersetrecipients: + vstinner, ned.deily, eric.araujo, dstufft, cstratak, hroncok
2018-12-14 18:07:58vstinnersetmessageid: <1544810878.55.0.788709270274.issue35257@psf.upfronthosting.co.za>
2018-12-14 18:07:58vstinnerlinkissue35257 messages
2018-12-14 18:07:58vstinnercreate