Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

We need a dep release for arm64 #1807

Closed
arm64b opened this issue Apr 12, 2018 · 3 comments · Fixed by #2102
Closed

We need a dep release for arm64 #1807

arm64b opened this issue Apr 12, 2018 · 3 comments · Fixed by #2102

Comments

@arm64b
Copy link

arm64b commented Apr 12, 2018

Just checked the release page, I can't find the pre-built dep release on AArch64, would you please help to create an arm64 version?

What version of dep are you using (dep version)?

What dep command did you run?

What did you expect to see?

What did you see instead?

@arm64b
Copy link
Author

arm64b commented Apr 13, 2018

@sdboyer I don't know if any issue to prevent building an arm64 release?

@daozhu
Copy link

daozhu commented Aug 11, 2018

i run this cmd on aarch64 system ( PI ) :

curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

but fails with an error in the end :

Architecture aarch64 is not supported by this installation script

@Xnyle
Copy link

Xnyle commented Dec 4, 2018

+1, is there a fundamental reason behind exluding arm? script even supports ppc64

lhauspie pushed a commit to lhauspie/dep that referenced this issue Apr 9, 2019
On path to close golang#1807 on [oauth2_proxy arm support](oauth2-proxy/oauth2-proxy#16)

Tested:
- Building armv6 and arm64 binaries on amd64
- Running arm binaries
- Using armv6 binary on RPi 3B to build another project [oauth2_proxy](https://github.com/kskewes/oauth2_proxy/tree/build)
  (`dep ensure`)

Not verified:
- Install script completes as binaries not published, looks okay
though.
- `hack/test.bash` - must have missed something.

armv6 (RPi 3B):
```
karl@pi1:~/go/src/github.com/pusher/oauth2_proxy $ dep version
dep:
 version     : v0.5.0-31-g73b3afef-dirty
 build date  : 2019-02-01
 git hash    : 73b3afe
 go version  : go1.11.5
 go compiler : gc
 platform    : linux/arm
 features    : ImportDuringSolve=false

karl@pi1:~/go/src/github.com/pusher/oauth2_proxy $ make dep
dep ensure --vendor-only

karl@pi1:~/go/src/github.com/pusher/oauth2_proxy $ uname -m
armv7l

karl@pi1:~ $ ./install.sh
ARCH = arm
OS = linux
Will install into /home/karl/go/bin
Fetching https://github.com/golang/dep/releases/latest..
Release Tag = v0.5.0
Fetching https://github.com/golang/dep/releases/tag/v0.5.0..
Fetching https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-arm..
Request failed with code 404

karl@pi1:~ $ ./test.bash
go test: -race is only supported on linux/amd64, linux/ppc64le, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
```

arm64 (Rock64):
```
rock64@k8s-w-01:~$ ./dep-linux-arm64 version
dep:
 version     : v0.5.0-31-g73b3afef-dirty
 build date  : 2019-02-01
 git hash    : 73b3afe
 go version  : go1.11.5
 go compiler : gc
 platform    : linux/arm64
 features    : ImportDuringSolve=false

rock64@k8s-w-01:~$ uname -m
aarch64

rock64@k8s-w-01:~$ ./install.sh
ARCH = arm64
OS = linux
Will install into /home/rock64/go/bin
Fetching https://github.com/golang/dep/releases/latest..
Release Tag = v0.5.0
Fetching https://github.com/golang/dep/releases/tag/v0.5.0..
Fetching https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-arm64..
Request failed with code 404
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants