nojima / httpie-go

httpie-like HTTP client written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] any chance we can get a arm64 build for linux and macos?

athrunsun opened this issue · comments

The prebuilt binaries provided on release page only support amd64 architecture, how about building this tool for arm64 platforms as well on Linux and MacOS? Is it possible with CircleCI?

+1 to this issue.

I am using Apple M1 and when I run make I get the following error:

go build -o ht ./cmd/ht
go: downloading code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48
go: downloading github.com/vbauerster/mpb/v5 v5.0.2
go: downloading github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381
go: downloading github.com/pborman/getopt v0.0.0-20190409184431-ee0cd42419d3
go: downloading golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073
go: downloading golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527
go: downloading github.com/VividCortex/ewma v1.1.1
# golang.org/x/sys/unix
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.1_13.go:27:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.1_13.go:40:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.go:43:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.go:59:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.go:75:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.go:90:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.go:105:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.go:121:3: //go:linkname must refer to declared function or variable
../../../../pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_arm64.go:121:3: too many errors
make: *** [build] Error 2

Thank you!

@bartmika this looks more like a go tooling problem to me. It makes sense to write which version you were using.

commented

prebuilt binaries would be preferred from the Release page, for some cases need to download this tool to some end user's machine with no compiler tools at all