Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Update example platforms with Apple silicon support#24

Merged
EverlastingBugstopper merged 2 commits into
EverlastingBugstopper:mainfrom
deviant-forks:add-apple-silicon-support
May 3, 2023
Merged

Update example platforms with Apple silicon support#24
EverlastingBugstopper merged 2 commits into
EverlastingBugstopper:mainfrom
deviant-forks:add-apple-silicon-support

Conversation

@maxdeviant

Copy link
Copy Markdown

This PR updates the supported platforms in the binary-install-example to include support for Apple silicon.

Since we don't currently build binaries for Apple silicon we're just using the x86_64-apple-darwin target triple, which will then get run through Rosetta 2. This is the same thing that Rover currently does.

run(fetchOptions) {
if (!this.exists()) {
this.install(fetchOptions, true)
this.install(fetchOptions, true);

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a Prettier change; it looks like main is currently failing the Prettier check:

λ nix-shell -p nodejs --command "npm run fmt:check"

> fmt:check
> prettier --check **/**/*.js

Checking formatting...
packages/binary-install/index.js
Code style issues found in the above file(s). Forgot to run Prettier?

@EverlastingBugstopper EverlastingBugstopper left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@EverlastingBugstopper EverlastingBugstopper merged commit fbeb8c7 into EverlastingBugstopper:main May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants