Projects
Eulaceura:Factory
presto
_service:obs_scm:presto-support-aarch64-platfor...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:presto-support-aarch64-platform.patch of Package presto
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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2