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

feat: Support macOS arm64 #87

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mandrean
Copy link

@mandrean mandrean commented Mar 2, 2023

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Summary

This PR adds support for darwin/macOS arm64 users. Closes #74 and maybe others.

Description

I tried cross-compiling kubectl-flame with goreleaser on my M1 Mac, but got a compilation error for the darwin-arm64 binary:
image

With x/sys bumped it now compiles just fine for darwin-arm64 as well:

image

Which means that the goreleaser GHA action will be able to build & release for that target arch as well, so the .krew.yaml can be updated with the new platform support.

@mandrean mandrean changed the title fix: Bump x/sys to support darwin-arm64 feat: Support macOS arm64 Mar 2, 2023
@Tombar
Copy link

Tombar commented Mar 21, 2023

This works on my machine™

TYVM

@mandrean
Copy link
Author

Hi @edeNFed! Could you review this?

@mwos-sl
Copy link

mwos-sl commented Mar 28, 2023

Dear yahoo, any chances to merge it and realease? Or should we drive our forks and release processes to have it?

@kinoute
Copy link

kinoute commented May 8, 2023

I second this. An ARM64 version would be nice.

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.

Issue installing flame on M1 chips
4 participants