compiler: Build on aarch64

This commit is contained in:
Lukasz Janyst 2017-11-21 13:19:13 +01:00 committed by Eric Anderson
parent 9c46f92b11
commit 7fd199f32e
1 changed files with 5 additions and 1 deletions

View File

@ -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