[Wheel-builders] manylinux compile/optimization options

Nathaniel Smith njs at pobox.com
Wed Dec 6 06:03:29 EST 2017


On Wed, Dec 6, 2017 at 2:56 AM, Vlad K. <vlad-fbsd at acheronmedia.com> wrote:
> Hello list,
>
> I need to understand if there are any specific compilation options set for
> the manylinux precompiled binaries, by the packaging system or by individual
> python module developers.

The manylinux docker image doesn't do anything special here. (In fact
it ships a rather old version of gcc -- I'd expect newer versions to
generate even faster code.)

> Now, since -O3 is not a wise thing to do unless you know what you're doing
> (and I don't, in this case), I need to find out if that's what was added to
> the PyPi wheel cache, or something else, and where was that defined as I
> could find no relevant CFLAGS definitions in the Pillow source code (or
> maybe it's there but I just can't see it), or in fact any compilation flags
> other than -O0 for the test cases.
>
> I also need to understand this so I can force the same compilation
> environment for the FreeBSD port of Python Pillow module
> (graphics/py-pillow).

I think your best bet is to ask the Pillow developers, or whoever
builds their wheels for distribution.

-n

-- 
Nathaniel J. Smith -- https://vorpus.org


More information about the Wheel-builders mailing list