Skip to content

Commit

Permalink
Add support for IBM ppc 64 little endian (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDubec authored Feb 4, 2025
1 parent b9a5d5f commit 2661260
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 2661260

Please sign in to comment.