Skip to content
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

support arm64 for macOS #10

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

hanasuke
Copy link
Contributor

@hanasuke hanasuke commented Oct 6, 2023

Hi.
On macOS(with M1 Pro CPU), I cannot install because uname -m returns arm64.

[naosuke@Canopus()] ~
(*'-') < uname -a
Darwin Canopus.local 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:43:05 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6020 arm64

[naosuke@Canopus()] ~
(*'-') < uname -m
arm64

So, I implemented to support this.
And, I can install latest binary on my env.

[naosuke@Canopus()] ~/.asdf/plugins/goss support_arm64_architecture[]
(*'-') < asdf install goss 0.4.2
Downloading [goss] from https://github.com/goss-org/goss/releases/download/v0.4.2/goss-darwin-arm64 to /var/folders/fm/7wvzg8h906jczw4jsk_nq4rw0000gq/T/asdf_eMLdwD98/goss
Creating bin directory
Cleaning previous binaries
Copying binary

[naosuke@Canopus()] ~/.asdf/plugins/goss support_arm64_architecture[]
(*'-') < asdf global goss 0.4.2

[naosuke@Canopus()] ~/.asdf/plugins/goss support_arm64_architecture[]
(*'-') < goss -v
goss version v0.4.2

Copy link
Owner

@raimon49 raimon49 left a comment

Choose a reason for hiding this comment

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

Thanks for your great contribution! 👍

I'm still using only Intel Mac. It's an environment I don't know, so that helps.

@raimon49 raimon49 merged commit 2457d99 into raimon49:master Oct 6, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants