From 7101859c7db37da526739a9c81834bca7b1c9258 Mon Sep 17 00:00:00 2001 From: Umberto Baldi <34278123+umbynos@users.noreply.github.com> Date: Tue, 11 Oct 2022 12:22:18 +0200 Subject: [PATCH] fix darwin m1 host name 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 --- extras/package_index.json.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/package_index.json.template b/extras/package_index.json.template index d6fc6076..8b212a02 100644 --- a/extras/package_index.json.template +++ b/extras/package_index.json.template @@ -38,7 +38,7 @@ "size": "%%OSX64_SIZE%%" }, { - "host": "aarch64-apple-darwin", + "host": "arm64-apple-darwin", "url": "http://downloads.arduino.cc/arduino-fwuploader/%%FILENAME%%_%%VERSION%%_macOS_ARM64.tar.gz", "archiveFileName": "%%FILENAME%%_%%VERSION%%_macOS_ARM64.tar.gz", "checksum": "SHA-256:%%OSXARM64_SHA%%",