Projects
Mega:24.03:SP1:Everything
os-maven-plugin
_service:tar_scm:0003-add-loongarch64-support-f...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0003-add-loongarch64-support-for-os-maven-plugin.patch of Package os-maven-plugin
From e5901cf57b82eec8973e78b3c472118d4771a0f4 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang <zhangwenlong@loongson.cn> Date: Wed, 27 Mar 2024 08:41:40 +0000 Subject: [PATCH] add loongarch64 support for os-maven-plugin --- README.md | 1 + src/main/java/kr/motd/maven/os/Detector.java | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 98f2c4e..6e2be2a 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ * `s390_32` - if the value is `s390` * `s390_64` if the value is `s390x` * `riscv64` if the value is `riscv64` +* `loongarch_64` if the value is `loongarch_64` #### Property: `os.detected.version.*` diff --git a/src/main/java/kr/motd/maven/os/Detector.java b/src/main/java/kr/motd/maven/os/Detector.java index 3c189ff..eaf8197 100644 --- a/src/main/java/kr/motd/maven/os/Detector.java +++ b/src/main/java/kr/motd/maven/os/Detector.java @@ -209,7 +209,9 @@ public abstract class Detector { if ("riscv64".equals(value)) { return "riscv64"; } - + if ("loongarch64".equals(value)) { + return "loongarch64"; + } return UNKNOWN; } -- 2.43.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