Permalink
Browse files

Make it possible to compile on aarch64.

  • Loading branch information...
ljanyst committed May 20, 2017
1 parent b7d816f commit 57c4c32d186de7058a1a3ec48a403d16279abb31
Showing with 5 additions and 1 deletion.
  1. +5 −1 compiler/build.gradle
View
@@ -47,6 +47,7 @@ model {
}
}
gcc(Gcc) {
target("aarch_64");
}
clang(Clang) {
}
@@ -59,11 +60,14 @@ model {
x86_64 {
architecture "x86_64"
}
aarch_64 {
architecture "aarch_64"
}
}
components {
java_plugin(NativeExecutableSpec) {
if (arch in ['x86_32', 'x86_64']) {
if (arch in ['x86_32', 'x86_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

0 comments on commit 57c4c32

Please sign in to comment.