Skip to content

A way to specify "macOS universal" tool host in index.json #1917

Closed
@carlosperate

Description

@carlosperate

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?:

{&Flavor{OS: "arm64-apple-darwin"}, []*os{darwinArm64}, []*os{darwinArm64}},

Describe the current behavior

We can have an entry for arm64-apple-darwin and another for x86_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

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions