Skip to content

Commit

Permalink
Fix native-image mapping for aarch64, apache#474
Browse files Browse the repository at this point in the history
  • Loading branch information
lanmaoxinqing committed Sep 9, 2021
1 parent e681ab3 commit 92bb3a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions native/src/main/java/org/mvndaemon/mvnd/nativ/OSInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class OSInfo {
public static final String IA64 = "ia64";
public static final String PPC = "ppc";
public static final String PPC64 = "ppc64";
public static final String ARM64 = "arm64";

private static final HashMap<String, String> archMapping = new HashMap<String, String>();
static {
Expand Down Expand Up @@ -72,6 +73,9 @@ public class OSInfo {
archMapping.put("powerpc64", PPC64);
archMapping.put("power_pc64", PPC64);
archMapping.put("power_rs64", PPC64);

archMapping.put("aarch64", ARM64);

}

public static void main(String[] args) {
Expand Down

0 comments on commit 92bb3a3

Please sign in to comment.