mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-02 03:57:38 +03:00
commit
8c05217590
3 changed files with 7 additions and 0 deletions
|
@ -74,6 +74,9 @@ ARCH_ALIASES = {
|
|||
"GOARCH": "amd64",
|
||||
"GOAMD64": "v3",
|
||||
},
|
||||
"loong64": {
|
||||
"GOARCH": "loong64",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ linux/s390x
|
|||
linux/mipsle
|
||||
linux/mipsle-sf
|
||||
linux/riscv64
|
||||
linux/loong64
|
||||
|
||||
# Android
|
||||
android/386
|
||||
|
|
|
@ -436,6 +436,9 @@ check_environment_architecture() {
|
|||
's390x')
|
||||
ARCHITECTURE='s390x'
|
||||
;;
|
||||
'loongarch64')
|
||||
ARCHITECTURE='loong64'
|
||||
;;
|
||||
*)
|
||||
error "The architecture '$(uname -a)' is not supported."
|
||||
note "Specify ARCHITECTURE=<architecture> to bypass this check and force this script to run on this $(uname -m)."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue