mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-02 03:57:38 +03:00
chore(scripts): detect arch for loong64
This commit is contained in:
parent
537e8144ea
commit
d86aa0b4e2
1 changed files with 3 additions and 0 deletions
|
@ -436,6 +436,9 @@ check_environment_architecture() {
|
||||||
's390x')
|
's390x')
|
||||||
ARCHITECTURE='s390x'
|
ARCHITECTURE='s390x'
|
||||||
;;
|
;;
|
||||||
|
'loongarch64')
|
||||||
|
ARCHITECTURE='loong64'
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
error "The architecture '$(uname -a)' is not supported."
|
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)."
|
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