代码拉取完成,页面将自动刷新
From 2a268646540458435580c1881091512f4e4cdfe3 Mon Sep 17 00:00:00 2001
From: herengui <herengui@uniontech.com>
Date: Tue, 24 Aug 2021 10:30:29 +0800
Subject: [PATCH] presto support aarch64 platform
Signed-off-by: herengui <herengui@uniontech.com>
---
.../facebook/presto/server/PrestoSystemRequirements.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/presto-main/src/main/java/com/facebook/presto/server/PrestoSystemRequirements.java b/presto-main/src/main/java/com/facebook/presto/server/PrestoSystemRequirements.java
index a58b5d1..1b00e04 100644
--- a/presto-main/src/main/java/com/facebook/presto/server/PrestoSystemRequirements.java
+++ b/presto-main/src/main/java/com/facebook/presto/server/PrestoSystemRequirements.java
@@ -70,12 +70,15 @@ public final class PrestoSystemRequirements
String osName = StandardSystemProperty.OS_NAME.value();
String osArch = StandardSystemProperty.OS_ARCH.value();
if ("Linux".equals(osName)) {
- if (!"amd64".equals(osArch) && !"ppc64le".equals(osArch)) {
- failRequirement("Presto requires amd64 or ppc64le on Linux (found %s)", osArch);
+ if (!"amd64".equals(osArch) && !"ppc64le".equals(osArch) && !"aarch64".equals(osArch)) {
+ failRequirement("Presto requires amd64, aarch64 or ppc64le on Linux (found %s)", osArch);
}
if ("ppc64le".equals(osArch)) {
warnRequirement("Support for the POWER architecture is experimental");
}
+ if ("aarch64".equals(osArch)) {
+ warnRequirement("Support for the aarch64 architecture is experimental");
+ }
}
else if ("Mac OS X".equals(osName)) {
if (!"x86_64".equals(osArch)) {
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。