Opened 3 years ago

Last modified 3 years ago

#63901 closed defect

python27 enables +lto and +optimizations by default — at Version 3

Reported by: polydevuk Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

[Mac OS Catalina 10.15.7]I seem to recollect python27 and python3x installing without the need to compile but I may be wroing. Regardless, any minor version bumps now require yet lengthy compilation. Furthermore +lto and +optimizations are enabled by default. Since MacPorts Pythons are only installed on my system as deps how can I remove these variant flags?

Change History (3)

comment:1 Changed 3 years ago by polydevuk

Description: modified (diff)

comment:2 Changed 3 years ago by polydevuk

Description: modified (diff)

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Yes, these variants are now enabled by default in the python ports.

That does not mean you need to compile them from source. You will receive binaries if they are available.

Due to the mass switch to openssl 3 on Sunday, our build machines have an extreme backlog and may not yet have gotten around to building the python packages with these new variants. That will resolve itself within a few days.

If you wish to install the ports without these variants, you can:

sudo port install python27 -lto -optimizations

If you do this, you will have to compile from source because our build machines only build ports with their default set of variants.

Note: See TracTickets for help on using tickets.