Merge pull request #1293 from zyppe/master

Add support for loongarch64
This commit is contained in:
Toby 2025-01-12 19:57:53 -08:00 committed by GitHub
commit 8c05217590
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View file

@ -74,6 +74,9 @@ ARCH_ALIASES = {
"GOARCH": "amd64",
"GOAMD64": "v3",
},
"loong64": {
"GOARCH": "loong64",
},
}

View file

@ -22,6 +22,7 @@ linux/s390x
linux/mipsle
linux/mipsle-sf
linux/riscv64
linux/loong64
# Android
android/386

View file

@ -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)."