-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Build mkcert for arm64 Linux #284
Build mkcert for arm64 Linux #284
Conversation
I think it would be reasonable to add linux/arm binaries as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion adds linux/arm (mostly for Raspberry Pi I guess...)
@@ -7,6 +7,8 @@ script: | |||
-ldflags "-X main.Version=$(git describe --tags)" | |||
- CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build -o "mkcert-$(git describe --tags)-linux-arm" | |||
-ldflags "-X main.Version=$(git describe --tags)" | |||
- CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o "mkcert-$(git describe --tags)-linux-arm64" | |||
-ldflags "-X main.Version=$(git describe --tags)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-ldflags "-X main.Version=$(git describe --tags)" | |
-ldflags "-X main.Version=$(git describe --tags)" | |
- CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o "mkcert-$(git describe --tags)-linux-arm" | |
-ldflags "-X main.Version=$(git describe --tags)" | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rfay but arm is already in there right? See above the arm64
. Or is that the wrong version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, yes. I didn't even realize that arm was already there.
There isn't a build for arm64 Linux at the moment. This PR adds support for arm64. More details: https://github.com/golang/go/wiki/GoArm