Skip to content

Commit 5b6e103

Browse files
authored
fix darwin m1 host name (#148)
The correct target listed by `gcc` is `arm64-apple-darwin...` and not `aarch64-apple-darwin...`. See also https://github.com/arduino/arduino-cli/blob/10107d2407c2d9997310fc2e0f22dfd15d48e9a8/arduino/cores/tools.go#L135
1 parent 75bcf76 commit 5b6e103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: extras/package_index.json.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"size": "%%OSX64_SIZE%%"
3939
},
4040
{
41-
"host": "aarch64-apple-darwin",
41+
"host": "arm64-apple-darwin",
4242
"url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_macOS_ARM64.tar.gz",
4343
"archiveFileName": "%%FILENAME%%_%%VERSION%%_macOS_ARM64.tar.gz",
4444
"checksum": "SHA-256:%%OSXARM64_SHA%%",

0 commit comments

Comments
 (0)