Skip to content

Commit

Permalink
compiler: Build on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
ljanyst authored and ejona86 committed Nov 21, 2017
1 parent 9c46f92 commit 7fd199f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion compiler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ model {
}
gcc(Gcc) {
target("ppcle_64")
target("aarch_64")
}
clang(Clang) {
}
Expand All @@ -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
Expand Down

0 comments on commit 7fd199f

Please sign in to comment.