in src/main/java/software/amazon/awssdk/crt/CRT.java [110:134]
public static String getArchIdentifier() throws UnknownPlatformException {
CrtPlatform platform = getPlatformImpl();
String arch = normalize(platform != null ? platform.getArchIdentifier() : System.getProperty("os.arch"));
if (arch.matches("^(x8664|amd64|ia32e|em64t|x64|x86_64)$")) {
return "x86_64";
} else if (arch.matches("^(x8632|x86|i[3-6]86|ia32|x32)$")) {
return (getOSIdentifier() == "android") ? "x86" : "x86_32";
} else if (arch.startsWith("armeabi")) {
if (getOSIdentifier() == "android") {
return "armeabi-v7a";
}
if (arch.contains("v7")) {
return "armv7";
} else {
return "armv6";
}
} else if (arch.startsWith("arm64") || arch.startsWith("aarch64")) {
return (getOSIdentifier() == "android") ? "arm64-v8a" : "armv8";
} else if (arch.equals("arm")) {
return "armv6";
}
throw new UnknownPlatformException("AWS CRT: architecture not supported: " + arch);
}