dev: add riscv64 to the install script (#3220)
This commit is contained in:
parent
5967201b0e
commit
c0532b3a5f
@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
# Code generated by godownloader. DO NOT EDIT.
|
||||
#
|
||||
|
||||
usage() {
|
||||
this=$1
|
||||
@ -88,6 +86,7 @@ get_binaries() {
|
||||
linux/mips64le) BINARIES="golangci-lint" ;;
|
||||
linux/ppc64le) BINARIES="golangci-lint" ;;
|
||||
linux/s390x) BINARIES="golangci-lint" ;;
|
||||
linux/riscv64) BINARIES="golangci-lint" ;;
|
||||
windows/386) BINARIES="golangci-lint" ;;
|
||||
windows/amd64) BINARIES="golangci-lint" ;;
|
||||
windows/arm64) BINARIES="golangci-lint" ;;
|
||||
@ -230,7 +229,7 @@ uname_os_check() {
|
||||
solaris) return 0 ;;
|
||||
windows) return 0 ;;
|
||||
esac
|
||||
log_crit "uname_os_check '$(uname -s)' got converted to '$os' which is not a GOOS value. Please file bug at https://github.com/client9/shlib"
|
||||
log_crit "uname_os_check '$(uname -s)' got converted to '$os' which is not a GOOS value."
|
||||
return 1
|
||||
}
|
||||
uname_arch_check() {
|
||||
@ -249,9 +248,10 @@ uname_arch_check() {
|
||||
mips64) return 0 ;;
|
||||
mips64le) return 0 ;;
|
||||
s390x) return 0 ;;
|
||||
riscv64) return 0 ;;
|
||||
amd64p32) return 0 ;;
|
||||
esac
|
||||
log_crit "uname_arch_check '$(uname -m)' got converted to '$arch' which is not a GOARCH value. Please file bug report at https://github.com/client9/shlib"
|
||||
log_crit "uname_arch_check '$(uname -m)' got converted to '$arch' which is not a GOARCH value."
|
||||
return 1
|
||||
}
|
||||
untar() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user