Skip to content

Commit a7cf52c

Browse files
authored
ctags arm64 osx64 support (#304)
* Add ctags tool config to add support for arm64 The cli automatically downloads this tool during its initial configuration step The ctags tool provided by Arduino was missing for download, causing the cli to breaks with a `downloading builtin:[email protected] tool: tool not available for your OS` error. This commit fixes the error defining pointers to Arduino downloads server * updated macosx ctags package flavour metadata to download 64bit os tool version
1 parent 15ee5b1 commit a7cf52c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

commands/bundled_tools_ctags.go

+12-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ func loadBuiltinCtagsMetadata(pm *packagemanager.PackageManager) {
6464
Resource: &resources.DownloadResource{
6565
ArchiveFileName: "ctags-5.8-arduino11-pm-x86_64-apple-darwin.zip",
6666
URL: "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-x86_64-apple-darwin.zip",
67-
Size: 107801,
68-
Checksum: "SHA-256:e8c5db45867fb5987ad0fc429d8bbbcf5549f4b7c2b5ade863e76ac77255144d",
67+
Size: 118296,
68+
Checksum: "SHA-256:bf74807260ddf0e1fc94d67e9cd8a41b7c0a2f0bee03e254e6975139b37ef250",
6969
CachePath: "tools",
7070
},
7171
},
@@ -79,6 +79,16 @@ func loadBuiltinCtagsMetadata(pm *packagemanager.PackageManager) {
7979
CachePath: "tools",
8080
},
8181
},
82+
{
83+
OS: "aarch64-linux-gnu",
84+
Resource: &resources.DownloadResource{
85+
ArchiveFileName: "ctags-5.8-arduino11-pm-aarch64-linux-gnu.tar.bz2",
86+
URL: "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-aarch64-linux-gnu.tar.bz2",
87+
Size: 100819,
88+
Checksum: "SHA-256:89b6f8adb7b7124ebe2eb30970ea77c754cd2239e0d8a6b0102ae2a36416c6ef",
89+
CachePath: "tools",
90+
},
91+
},
8292
}
8393
}
8494

0 commit comments

Comments
 (0)