-
-
Notifications
You must be signed in to change notification settings - Fork 398
A way to specify "macOS universal" tool host in index.json #1917
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 @carlosperate. You can see the code for selecting the appropriate tool flavor here: arduino-cli/arduino/cores/tools.go Lines 126 to 213 in 08d746d
So a host value matching the regular expression
A host value matching the regular expression
I aspired to document the supported values of |
AFAIU, this is a documentation problem? can we close this in favor of #2004? |
Yes, I think this can be covered as a documentation update as part of #2004. Thanks everyone! |
Describe the request
When building an Arduino Core and packaging tools, it looks like there isn't a way to specify a macOS universal "host".
Having a look in https://downloads.arduino.cc/packages/package_index.json I'm not 100% sure what's the right name for the arm64 macOS host, as I can't find any entry there. But based on this test file I believe it's
arm64-apple-darwin
?:arduino-cli/arduino/cores/tools_test.go
Line 67 in 495a5f1
Describe the current behavior
We can have an entry for
arm64-apple-darwin
and another forx86_64-apple-darwin
, which would be pretty much a copy/paste of the other with a different "host" name.Arduino CLI version
N/A
Operating system
macOS
Operating system version
N/A
Additional context
This is not extrictly neccesary, as having multiple entries works, so I guess it's more like a "nice to have".
Issue checklist
The text was updated successfully, but these errors were encountered: