Skip to content

Commit

Permalink
Update OSInfo.java
Browse files Browse the repository at this point in the history
Support IBM ppc 64 Little Endian
  • Loading branch information
PeterDubec authored Jan 7, 2025
1 parent dfbf67a commit 3d23e46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/xerial/snappy/OSInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,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 PPC64LE = "ppc64le";
public static final String IBMZ = "s390";
public static final String IBMZ_64 = "s390x";
public static final String AARCH_64 = "aarch64";
Expand Down Expand Up @@ -80,6 +81,9 @@ public class OSInfo {
archMapping.put("power_pc", PPC);
archMapping.put("power_rs", PPC);

// PowerPC 64bit Little Endian mappings
archMapping.put(PPC64LE, PPC64LE);

// TODO: PowerPC 64bit mappings
archMapping.put(PPC64, PPC64);
archMapping.put("power64", PPC64);
Expand Down

0 comments on commit 3d23e46

Please sign in to comment.