-
Notifications
You must be signed in to change notification settings - Fork 47
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
add support for m1 macs #16
base: master
Are you sure you want to change the base?
Conversation
To support M1 we need to also build for the `arm64` architecture.
@russell How did you build for the M1? Mind adding instructions to this PR? |
I built it on an M1, i can't remember the command, i followed the readme but if you are on a different computer, something like this should work to cross compile
|
@russell It worked, thanks! That was easy 😄 |
@said-acn Haven't you experienced this issue on
Also M1, btw |
You can disable the linter by editing .golandci.yaml and setting "enable-all" to false, then it builds fine. I'm not a go developer, so it confused me for longer than I care to admit that it deposits the built binary into your GOPATH bin dir, so it'll generate ${GOPATH}/bin/kubectl-tap |
@said-acn asked:
|
This PR works correctly for me. Can someone that can merge give it a second look and possibly merge it? |
To support M1 we need to also build for the
arm64
architecture.I have tested building the golang binary locally and it works great on M1