-
-
Notifications
You must be signed in to change notification settings - Fork 12
Feature request: Support macOS arm64 #348
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
Comments
Hi @colin-pm. I don't own a Mac M1, but my understanding is that the x86-64 build we provide already should work fine on these machines using Rosetta 2 mode. Have you had problems using Arduino Lint sourced from the "macOS 64 bit" download links shown on the "Installation" page?: https://arduino.github.io/arduino-lint/latest/installation/#latest-release |
I ended up building from source, which worked fine for me. I did just download the Mac x86-64 binary and it appears to work as well. The only issue I see is the install.sh script errors because getFile returns no binary for macOS arm64. So either hosting a binary for the macOS arm64 download path or modifying the install.sh script would provide support for M1 devices in my mind. |
I'm very glad to hear this!
Thanks so much for bringing this to our attention. Although the installation script is automatically tested, including on a macOS x86-64 machine, the GitHub Actions system used for the test does not currently have M1 runners, so that is a gap in the test coverage. The installation script is maintained in a separate repository, so I have opened a dedicated bug report about this problem there: arduino/tooling-project-assets#207 Once it is resolved upstream, that will be pulled back into this repository as well as the other projects using the script. Since it seems no action needs to be taken in the code hosted in the Arduino Lint repository, I'll go ahead and close this issue. Regards, Per |
Hello yet again @colin-pm. I have some good news. There are now native macOS ARM 64-bit builds of Arduino Lint for the Apple M1-based machines (#409). There hasn't been a production release of Arduino Lint since the build system was updated, but nightly builds are already available. The link is here if you want to give it a try: https://arduino.github.io/arduino-lint/dev/installation/#nightly-builds |
It would be nice to release a version for MacOS arm64 to support the new M1 architecture Macs.
I would be happy to contribute and help test/verify if needed! 😃
The text was updated successfully, but these errors were encountered: