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
macOS/Apple Silicon Universal binary? #517
Comments
Not until it becomes a little more prevalent. Currently, only 0.2% of downloads come from an M1 Mac. |
Okay, I see the chicken and egg problem :) Especially if a project is not super straight forward to port. Out of curiosity: 0.2% of all mac downloads or overall? @maxnet could you share how you build darwin-arm64 (or even the universal binary?). Having a native version seems to have helped quite a bit with issues users were having (skimming through the issues). Maybe a HOWTO can be put somewhere (README?) how to do it yourself. |
The main things:
I am not sure if those issues were really solved by the native version, or if that was more placebo effect.
Not sure if there is much demand for that. |
hmm, not super straight forward 🤔 I don't see documentation how the release process works, otherwise I'd given it a shot to work on a PR... I'm actually not really only asking for myself (I can do it without this/an UI tool). But I got asked a couple of times already by less tech savvy folks and they all bought new MacBook Airs in the last two years. While I'm very well aware of my bubble, but I do believe that the percentage of Mac users on arm64 will rapidly increase rather soon. |
https://github.com/raspberrypi/rpi-imager/blob/qml/README.md under "MAC OS X" Except at this step: "Get the Qt online installer from: https://www.qt.io/download-open-source During installation, choose a Qt 5.x edition and CMake." As Qt 5.x does not do M1 Macs (at least not in the free Qt edition). |
Thank you for the info 🙇 Sorry, I meant, I was looking for an (automated) script/tool to build and publish releases. If that's a manual process, the changes are quite slim that this is going to be used I guess (reading into why @ghollingworth closed this issue right away). I was hoping that there is something automated so it would be little to no effort offering builds for another build target. |
I know that in the web application development world everyone is a fan of continuous integration and the "push to production" button.
It is a little bit more work, than a recompile. Qt 5 not supporting M1. And that older OS releases are no longer supported is not just an Apple problem. |
Thanks for the context and taking the time to elaborate! Much appreciated! 🙇 |
cough balena-io/etcher#3853 cough 😉 I for one, appreciate the more traditional approach used by Raspberry Pi Imager ❤️ |
Yeah, that's typical web developer mentality. And placing absolute trust in the developers of all your dependencies comes with risks as well, as was learned earlier this year... https://en.wikipedia.org/wiki/Peacenotwar |
@tisba did you get an Apple Silicon built? If so do you have it somewhere on GitHub that others can use it? At their own risk of course! Thanks! |
Not yet, but it's on my list. I'm not that familiar with building these kinds of project. Will ping this thread though if I have something. |
Great @tisba . A partial workaround for anyone hitting this thread and wanting to run an emulated Raspian on new apple silicon is to run it in a virtual machine on OSX
Within UTM it's horribly slow so doesn't replace having an image that works on apple silicon, but is a workaround that I did get up and running yesterday. |
Using a VM sounds a lot more heavyweight than just using Rosetta? 🤷 |
The problem with Rosetta is also that the current release seems to be unstable (at least there are a few issues on that). But in general I agree. I personally try to avoid Rosetta as good as I can and try instead to contribute wherever I can. So far I have to say it is impressive how quick almost all programs I use offered an optimized ARM version. |
The paid subscription is only needed to get rid of the warning messages when you launch it the first time, otherwise you can get around that by right clicking + open. |
Without any documentation (or automation as documentation), it is - at least for me - unfeasible to make a build (any actually). The qt world seems super complex and extensive. I've seen a bunch of other qt-based projects which did automate their build and release pipeline, but I'm still lacking the experience to adopt this to this project within a reasonable time window 😞 I thought I could help less savvy people here, but I just don't have the time or the leisure to spend days learning build processes without documentation. I can help myself with |
That my documentation skills leave to be desired is correct :-) If you need help it may be useful though if you are very precise indicating which part of the build process from the README you are having problems with. |
Hi,
it looks like an universal binary build does exist (found one for example here).
I would like to avoid relying non ARM native programs (and to on Rosetta) unless absolutely necessary. Are there any plan to offer official builds? Or offering arm64 versions for macOS?
The text was updated successfully, but these errors were encountered: