-
Notifications
You must be signed in to change notification settings - Fork 530
Build with arm versions #528
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,8 +23,10 @@ bootstrap-dist: | |
| build-all: | ||
| gox -verbose \ | ||
| -ldflags "-X main.version=${VERSION}" \ | ||
| -ldflags "-X main.version=${VERSION}" \ | ||
| -os="linux darwin windows " \ | ||
| -arch="amd64 386" \ | ||
| -arch="amd64 386 armv5 armv6 armv7 arm64" \ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just tried it out and I don't think armv{5,6,7} are valid. It just ignores the arch's it doesn't know about. I believe only
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As explained in the first conversation of this PR you must use a gox fork to work. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fwiw, I built with just
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice, but as stated here
|
||
| -osarch="!darwin/arm64" \ | ||
| -output="dist/{{.OS}}-{{.Arch}}/{{.Dir}}" . | ||
|
|
||
| dist: build-all | ||
|
|
||
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.
looks like this line is duplicated?