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) {
|
gcc(Gcc) {
|
||||||
target("ppcle_64")
|
target("ppcle_64")
|
||||||
|
target("aarch_64")
|
||||||
}
|
}
|
||||||
clang(Clang) {
|
clang(Clang) {
|
||||||
}
|
}
|
||||||
|
|
@ -63,11 +64,14 @@ model {
|
||||||
ppcle_64 {
|
ppcle_64 {
|
||||||
architecture "ppcle_64"
|
architecture "ppcle_64"
|
||||||
}
|
}
|
||||||
|
aarch_64 {
|
||||||
|
architecture "aarch_64"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
components {
|
components {
|
||||||
java_plugin(NativeExecutableSpec) {
|
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
|
// 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.
|
||||||
targetPlatform arch
|
targetPlatform arch
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue