mirror of https://github.com/grpc/grpc-java.git
compiler: Build on aarch64
This commit is contained in:
parent
9c46f92b11
commit
7fd199f32e
|
|
@ -48,6 +48,7 @@ model {
|
|||
}
|
||||
gcc(Gcc) {
|
||||
target("ppcle_64")
|
||||
target("aarch_64")
|
||||
}
|
||||
clang(Clang) {
|
||||
}
|
||||
|
|
@ -63,11 +64,14 @@ model {
|
|||
ppcle_64 {
|
||||
architecture "ppcle_64"
|
||||
}
|
||||
aarch_64 {
|
||||
architecture "aarch_64"
|
||||
}
|
||||
}
|
||||
|
||||
components {
|
||||
java_plugin(NativeExecutableSpec) {
|
||||
if (arch in ['x86_32', 'x86_64', 'ppcle_64']) {
|
||||
if (arch in ['x86_32', 'x86_64', 'ppcle_64', 'aarch_64']) {
|
||||
// If arch is not within the defined platforms, we do not specify the
|
||||
// targetPlatform so that Gradle will choose what is appropriate.
|
||||
targetPlatform arch
|
||||
|
|
|
|||
Loading…
Reference in New Issue