add support for m1 macs#16
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
arm64architecture.I have tested building the golang binary locally and it works great on M1