-
Notifications
You must be signed in to change notification settings - Fork 172
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
Feature request – Download for Apple Silicon / aarch64 #2073
Comments
It's not currently possible with the CI/CD system we use to produce the release images (Appveyor) because it uses Homebrew to supply libraries and Homebrew doesn't support universal binaries at the moment. |
Although, I could easily contribute AArch64 macOS builds.... hmm. |
I see, thanks for the quick reply. Reading your second comment: so, a aarch64 macOS build that is separate from Homebrew is possible? If so, that would be great! |
Not separate from Homebrew, just using native AArch64 Homebrew on an Apple Silicon build host |
Ah, I understand! Would be great if a aarch64 macOS build is possible this way! |
Does this mean it would be in general possible to compile a macOS binary which could run on both x86_64 and AArch64? |
I guess a universal binary would be the ideal situation @theGreatWhiteShark – would this be possible @cme ? |
Yep. It's not supported by Homebrew though as it builds only native binaries, we'd have to compile all dependencies from it, including Qt |
Hmm. That's a lot. Maybe we can convince Homebrew to use the precomiled version of Qt provided by AppVeyor. Or maybe MacPorts would do a better job. |
Thanks for all the replies! So, there's 3 options, if I can sum up your comments @theGreatWhiteShark @cme. Correct me if I'm wrong.
|
I've just spent a frustrating hour or so trying to build working AArch64 macos binaries for 1.2.4. It seems that the combination of Qt, Howebrew and Sonoma somehow causes As for universal binaries, I think it needs a move to Qt6. @theGreatWhiteShark do you think it's viable (in future) to support building with Qt5 for legacy targets and Qt6 for up-to-date systems? |
Okay, turns out it just needed signing after the deploy. Grr. Apple Silicon images added to the release assets: https://github.com/hydrogen-music/hydrogen/releases/tag/1.2.4 I should look at automating this... |
I think this is no problem at all (given backward-compatibility of our Qt code). If I'm not mistaking we are already shipping all required Qt shared libraries as part of the Which version should do you need? 6.8 right away?
Yeah. Windows folks are complaining too that Windows Defender prevents them from installing the application. But, honestly, with so many things on my short list, open tickets, and so much ground still to cover for 2.0 I have not found any motivation for investing resources in complying with Microsoft stuff yet. |
Nice! I just added it to SourceForge too. Since we provide a range of supported OS versions on our hydrogen-music.org download page: does it have the same limitations as the AppVeyor artifact (OS X 10.14 and above)? |
Thanks very much for your work @cme on this Apple Silicon build – and of course @theGreatWhiteShark on all your work on Hydrogen. I'm going to check it out. I'll let you know if I run into anything. But this really helps me to transfer all my creative tools over from a really old Macbook, to an Apple Silicon one. I guess the question remaining is how to optimize and automate the build. And perhaps work toward a universal build, which would make separate x86/aarch64 builds unnecessary. |
I always found x86_64 binaries under Rosetta2 to be imressively fast, and Hydrogen in particular was entirely satisfactory for my use with it. But, of course, native is always better :) |
No, there haven't been any ABI-breaking changes since Apple Silicon appeared, so they should run on any macOS that Apple Silicon will run on. I've tested it on a Monterey VM, will create a Big Sur (the earliest macOS to support Apple Silicon) VM and check that just in case. |
I've also heard great stories about Rosetta2. It works wonders. And I hope Apple will support it for a long time, but I've also known Apple for suddenly removing stuff that they think is no longer needed. So I'd rather go future-proof with native apps. So it's great that Hydrogen is now future-proof on Mac 😎👍. Thanks again! |
Do we keep this one open until we found a way to automate it? |
If you want, I could edit the Title to include the automation (and perhaps also the universal binary). |
Looks like all the Qt6 versions installed on the Appveyor images are already universal, it's just all the other libraries to figure out now... There's another route which is to replace the Homebrew Hydrogen package so that it builds in Homebrew so would get the same native libraries as anything else built in Homebrew. |
Does it build on server or client side? |
Hydrogen version * : 1.2.3
Operating system + version : macOS Sonoma / Sequoia
Audio driver + version : Not relevant
Dear all, I've looked everywhere, on the website and on this Github, but couldn't find if someone already asked this – or if this has been answered. With more and more Macs moving away from Intel-processors, would it be possible to provide an Apple Silicon/aarch64 download of Hydrogen?
The text was updated successfully, but these errors were encountered: