-
Notifications
You must be signed in to change notification settings - Fork 238
Description
What is the current behaviour and why should it be changed?
#2357 introduced native M1 releases. It would be more user-friendly if we packaged both x86_64 and arm64e builds into a single universal binary. This is possible using lipo, but the details have to be figured out.
https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
Describe possible approaches
A first attempt of putting both archs into QMAKE_APPLE_DEVICE_ARCHS has been done in #2357, but it failed due to arch-specific code paths.
If we can't get that to work, it will either need moving both build runs into a single CI job or will require another CI job which takes the artifacts from the previous steps and combines them. The former sounds more realistical, especially considerung the .dmg generation.
Has this feature been discussed and generally agreed?
See #2357