PyOxidizer icon indicating copy to clipboard operation
PyOxidizer copied to clipboard

Support universal/fat x86_64 + aarch binaries for Apple macOS

Open indygreg opened this issue 3 years ago • 5 comments

With Apple introducing a new machine architecture for macOS, universal binaries on macOS became relevant again.

This issue tracks supporting emitting universal binaries directly from PyOxidizer.

indygreg avatar Mar 04 '21 21:03 indygreg

Just FYI Apple transitions architecture about every 10-15 years. https://www.howtogeek.com/677270/deja-vu-a-brief-history-of-every-mac-cpu-architecture/

I don't know how long pyoxidizer will be around but it's probably not a bad idea to have some generalized support for fat(hybrid) binaries.

bbappserver avatar Jul 15 '21 04:07 bbappserver

Definitely interested in this.

bcorfman avatar Sep 03 '21 18:09 bcorfman

Yes please!

gabbas avatar Jul 07 '22 06:07 gabbas

So I'm curious, even if this isn't natively supported in the project yet, what is a way to do this manually now? Do I just lipo the executables or do I have to consolidate the lib somehow?

aaronsky avatar Feb 24 '23 15:02 aaronsky

Also curious about universal2 support, and whether lipo can be used to combine two single-arch builds together successfully or not.

martsa1 avatar Jul 24 '23 15:07 martsa1