[Python-Dev] buildbot's are needlessly compiling -O0

Eli Bendersky eliben at gmail.com
Sun Nov 24 15:19:14 CET 2013


On Sun, Nov 24, 2013 at 6:12 AM, anatoly techtonik <techtonik at gmail.com>wrote:

> On Sun, Nov 24, 2013 at 12:43 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> >
> > On 24 Nov 2013 17:15, "Gregory P. Smith" <greg at krypto.org> wrote:
> >>
> >> our buildbots are setup to configure --with-pydebug which also
> >> unfortunately causes them to compile with -O0... this results in a
> python
> >> binary that is excruciatingly slow and makes the entire test suite run
> take
> >> a long time.
> >>
> >> given that nobody is ever going to run a gdb or another debugger on the
> >> buildbot generated transient binaries themselves how about we speed all
> of
> >> the buildbot's up by adding CFLAGS=-O2 to the configure command line?
> >
> > The main problem is that doing so would disable test_gdb. Humans don't
> run
> > gdb on those binaries, but the test suite does.
>
> Is there a danger that the code tested under GDB is not tested in
> "natural environment" for pythons?
> --
>

What are you talking about? Have you actually looked at test_gdb before
writing this email?

Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20131124/5d4c8925/attachment.html>


More information about the Python-Dev mailing list