Adding loongarch suport for grpc-java

This commit is contained in:
Wenlong Zhang 2022-05-17 09:56:33 +08:00 committed by Eric Anderson
parent 04f9bdc1fd
commit 334fc32034
1 changed files with 4 additions and 1 deletions

View File

@ -59,6 +59,7 @@ model {
linker.executable = 'aarch64-linux-gnu-g++' linker.executable = 'aarch64-linux-gnu-g++'
} }
target("s390_64") target("s390_64")
target("loongarch_64")
} }
clang(Clang) { clang(Clang) {
} }
@ -70,6 +71,7 @@ model {
ppcle_64 { architecture "ppcle_64" } ppcle_64 { architecture "ppcle_64" }
aarch_64 { architecture "aarch_64" } aarch_64 { architecture "aarch_64" }
s390_64 { architecture "s390_64" } s390_64 { architecture "s390_64" }
loongarch_64 { architecture "loongarch_64" }
} }
components { components {
@ -79,7 +81,8 @@ model {
'x86_64', 'x86_64',
'ppcle_64', 'ppcle_64',
'aarch_64', 'aarch_64',
's390_64' 's390_64',
'loongarch_64'
]) { ]) {
// If arch is not within the defined platforms, we do not specify the // If arch is not within the defined platforms, we do not specify the
// targetPlatform so that Gradle will choose what is appropriate. // targetPlatform so that Gradle will choose what is appropriate.