-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autobuild: Add macOS M1 (arm64) build target #2682
Autobuild: Add macOS M1 (arm64) build target #2682
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I'd need someone with a M1 Mac...
Can you ping the person who requested it?
@@ -60,7 +62,7 @@ build_app_as_dmg_installer() { | |||
if prepare_signing; then | |||
BUILD_ARGS=("-s" "${MACOS_CERTIFICATE_ID}") | |||
fi | |||
./mac/deploy_mac.sh "${BUILD_ARGS[@]}" | |||
TARGET_ARCH="${TARGET_ARCH}" ./mac/deploy_mac.sh "${BUILD_ARGS[@]}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't read the code further, but would it be possible to pass the arch by normal arguments, not environment variables to stay consistent?
Yes, I'd like to get it in for the next release 3.9.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we have positive reviews with M1 compatibility, approving. My comment still stands (from above)
@emlynmac could you please Review this PR? I think it's ok. |
@pljones Can we merge this? I'd like to start documenting this |
I've no issue with it (I tend to leave reviewing the build stuff to others :) ). |
Short description of changes
This PR adds a build target for macOS M1 (arm64).
It does not yet support universal binaries (x86 + arm64 in a single archive). I haven't looked into how much effort this would be. It might still get ready for 3.9.0. If it doesn't, a later release could unify those releases again. In any case, I don't want to do that as part of this PR.
@ann0see I haven't forgotten about the autobuild limiting logic and I'll submit a related PR in the coming days.
CHANGELOG: Build: Add macOS M1 (arm64) support
Context: Fixes an issue?
Related #2357
Does this change need documentation? What needs to be documented and how?
Status of this Pull Request
What is missing until this pull request can be merged?
Checklist