Allow running Presto on Linux ppc64le
@@ -79,8 +79,11 @@ final class PrestoSystemRequirements
String osName = StandardSystemProperty.OS_NAME.value();
String osArch = StandardSystemProperty.OS_ARCH.value();
if ("Linux".equals(osName)) {
- if (!"amd64".equals(osArch)) {
- failRequirement("Presto requires x86-64 or amd64 on Linux (found %s)", osArch);
+ if (!"amd64".equals(osArch) && !"ppc64le".equals(osArch)) {
+ failRequirement("Presto requires amd64 or ppc64le on Linux (found %s)", osArch);
+ }
+ if ("ppc64le".equals(osArch)) {
+ warnRequirement("Support for the POWER architecture is experimental");
}
}
else if ("Mac OS X".equals(osName)) {
