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

fix: use aarch64 suffix instead of arm64 #267

Merged

Conversation

gilbsgilbs
Copy link
Contributor

@gilbsgilbs gilbsgilbs commented Feb 28, 2023

On Linux, arm64 architecture is commonly referred to as aarch64. The uname -m command returns the latter. As a result, the command suggested in the README to install dockerize doesn't work on this architecture.

This commit fixes this by renaming the release artifact from "linux-arm64" to "linux-aarch64". Thus, "$(uname -s)-$(uname -m)" will return the expected artifact name.

See also: https://stackoverflow.com/a/45125525


Note that this may be surprising to users currently expecting the -arm64 suffix. If necessary, we can consider providing both artifacts, but that sounds wrong.

On Linux, arm64 architecture is commonly referred to as aarch64. The
`uname -m` command returns the latter. As a result, the command
suggested in the README to install dockerize doesn't work on this
architecture.

This commit fixes this by renaming the release artifact from
"linux-arm64" to "linux-aarch64". Thus, "$(uname -s)-$(uname -m)" will
return the expected artifact name.

See also: https://stackoverflow.com/a/45125525
@powerman
Copy link
Owner

Accordingly to https://en.wikipedia.org/wiki/Uname arm64 works on MacOS (on Apple M1).
To me it looks like we should support both.

@gilbsgilbs
Copy link
Contributor Author

Isn't MacOS+arm64 supposed to be a different ELF format (which is unsupported right now)? Like darwin/arm64?

@gilbsgilbs
Copy link
Contributor Author

Anyways, just added darwin/arm64 platform.

@powerman powerman merged commit cff7133 into powerman:master Feb 28, 2023
@powerman
Copy link
Owner

Thanks!

@gilbsgilbs gilbsgilbs deleted the fix-linux-arm64-architecture-name branch February 28, 2023 19:12
@powerman
Copy link
Owner

Released 0.18.2, please test new aarch64 binary. :)

@gilbsgilbs
Copy link
Contributor Author

Works like a charm. Thanks for the release 🎉

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