mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-12-20 01:11:03 +08:00
Pull request 2350: 7550-riscv-install
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
lint / notify (push) Has been cancelled
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
lint / notify (push) Has been cancelled
Updates #7550. * commit '54cc8f506f660e97a8b9e3cd370e123d73986de4': correct indention in install.sh add riscv64 to install.sh
This commit is contained in:
@@ -254,6 +254,9 @@ set_cpu() {
|
||||
|
||||
cpu="${cpu}_softfloat"
|
||||
;;
|
||||
'riscv64')
|
||||
cpu='riscv64'
|
||||
;;
|
||||
*)
|
||||
error_exit "unsupported cpu type: $cpu"
|
||||
;;
|
||||
@@ -262,7 +265,7 @@ set_cpu() {
|
||||
|
||||
# Validate.
|
||||
case "$cpu" in
|
||||
'amd64' | '386' | 'armv5' | 'armv6' | 'armv7' | 'arm64')
|
||||
'amd64' | '386' | 'armv5' | 'armv6' | 'armv7' | 'arm64' | 'riscv64')
|
||||
# All right, go on.
|
||||
;;
|
||||
'mips64le_softfloat' | 'mips64_softfloat' | 'mipsle_softfloat' | 'mips_softfloat')
|
||||
|
||||
Reference in New Issue
Block a user