Skip to content
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

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

hoffie
Copy link
Member

@hoffie hoffie commented Jun 30, 2022

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?

  • Website downloads maybe?

Status of this Pull Request

What is missing until this pull request can be merged?

Checklist

@hoffie hoffie added the needs documentation PRs requiring documentation changes or additions label Jun 30, 2022
@hoffie hoffie added this to the Release 3.9.0 milestone Jun 30, 2022
@hoffie hoffie mentioned this pull request Jun 30, 2022
6 tasks
Copy link
Member

@ann0see ann0see left a 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[@]}"
Copy link
Member

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?

@ann0see
Copy link
Member

ann0see commented Jul 1, 2022

Yes, I'd like to get it in for the next release 3.9.0

Copy link
Member

@ann0see ann0see left a 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)

@ann0see ann0see requested a review from pljones July 4, 2022 13:18
@ann0see
Copy link
Member

ann0see commented Jul 4, 2022

@emlynmac could you please Review this PR? I think it's ok.

@ann0see
Copy link
Member

ann0see commented Jul 6, 2022

@pljones Can we merge this? I'd like to start documenting this

@pljones
Copy link
Collaborator

pljones commented Jul 6, 2022

I've no issue with it (I tend to leave reviewing the build stuff to others :) ).

@pljones pljones merged commit 514f78f into jamulussoftware:master Jul 6, 2022
@ann0see ann0see removed the needs documentation PRs requiring documentation changes or additions label Jul 8, 2022
@hoffie hoffie deleted the autobuild/add-mac-arm64e branch July 13, 2022 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants