Skip to content

Add native support for Apple Silicon #1313

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

Closed
Logicer16 opened this issue Jun 10, 2021 · 4 comments · Fixed by #1770
Closed

Add native support for Apple Silicon #1313

Logicer16 opened this issue Jun 10, 2021 · 4 comments · Fixed by #1770
Assignees
Labels
architecture: arm Specific to ARM host architecture conclusion: resolved Issue was resolved os: macos Specific to macOS operating system topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement

Comments

@Logicer16
Copy link

Logicer16 commented Jun 10, 2021

Current behaviour

Arduino CLI runs under Rosetta 2 on Apple Silicon. While this works at the moment, it is more efficient (and will eventually be required) to run a native version.

Expected behaviour

Arduino CLI should have a native Apple Silicon version.

Environment

  • CLI version (output of arduino-cli version): arduino-cli alpha Version: nightly-20210610 Commit: 16f41352 Date: 2021-06-10T01:26:29Z
  • OS and platform (theoretically): macOS Big Sur 11.5 Public Beta 2, M1 Mac mini
@dotsam
Copy link

dotsam commented Aug 26, 2021

@Logicer16
Copy link
Author

Given, Homebrew might already be building many packages itself, but not everyone is going to have Homebrew installed. I probably should have specificified that the prebuilt binary, in particular, is an intel build, rather than being a universal build or having a different download for Apple Silicon.

@Kompost14
Copy link

Cause of the missing native support, the "normal" 'make setup' of Kaleidoscope fails:

$ make setup
...
...
Downloading https://downloads.arduino.cc/arduino-cli/arduino-cli_0.18.3_macOS_arm64.tar.gz
Did not find a release for your system: macOS arm64
Trying to find a release using the GitHub API.
LATEST_RELEASE_URL=https://api.github.com/repos/arduino/arduino-cli/releases/tags/0.18.3
Getting https://api.github.com/repos/arduino/arduino-cli/releases/tags/0.18.3
Sorry, we dont have a dist for your system: macOS arm64
You can request one here: https://github.com/arduino/arduino-cli/issues
Failed to install arduino-cli
make: *** [/Users/***/Development/GitHub/Kaleidoscope/bin/arduino-cli] Error 1

Thanks for the hint with Homebrew.

@per1234 per1234 added type: enhancement Proposed improvement os: macos Specific to macOS operating system labels Aug 31, 2021
@brentru
Copy link
Contributor

brentru commented Feb 14, 2022

Hi, any update on Apple Silicon Support?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture: arm Specific to ARM host architecture conclusion: resolved Issue was resolved os: macos Specific to macOS operating system topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants