Add loongarch support

Bug: angleproject:7104
Change-Id: I9b9c57b76463f16d0c3c7ccc8b81c1bb657a3cc8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3522459
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
This commit is contained in:
马爱国
2022-03-15 06:59:00 +00:00
committed by Angle LUCI CQ
parent 1e6643d55a
commit 8a2a4fa70f
2 changed files with 3 additions and 2 deletions

View File

@@ -74,11 +74,11 @@ declare_args() {
if (current_cpu == "arm64" || current_cpu == "x64" ||
current_cpu == "mips64el" || current_cpu == "s390x" ||
current_cpu == "ppc64") {
current_cpu == "ppc64" || current_cpu == "loong64") {
angle_64bit_current_cpu = true
} else if (current_cpu == "arm" || current_cpu == "x86" ||
current_cpu == "mipsel" || current_cpu == "s390" ||
current_cpu == "ppc") {
current_cpu == "ppc" || current_cpu == "loong32") {
angle_64bit_current_cpu = false
} else {
assert(false, "Unknown current CPU: $current_cpu")