Bug#1060369: gridengine: please add support for loong64
Source: gridengine
Version: 8.1.9+dfsg-11
Severity: normal
X-Debbugs-Cc: wuruilong@loongson.cn
Dear Maintainer,
Please support the loong64 architecture.
The patch is provided in the attachment for your reference.
wuruilong
-- System Information:
Debian Release: trixie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)
Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
gridengine (8.1.9+dfsg-11) unstable; urgency=medium
.
* Team upload.
* d/patches/riscv64.patch: add support for riscv64 with a patch from
Bo YU <tsu.yubo@gmail.com> ; thanks!
Closes: #1017771
Author: Michael R. Crusoe <crusoe@debian.org>
Bug-Debian: https://bugs.debian.org/1017771
---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-01-10
--- gridengine-8.1.9+dfsg.orig/source/aimk
+++ gridengine-8.1.9+dfsg/source/aimk
@@ -1977,6 +1977,9 @@ if ( $JNI == 1 ) then
case lx-riscv64:
set JAVA_LIB_ARCH = riscv64
breaksw
+ case lx-loong64:
+ set JAVA_LIB_ARCH = loong64
+ breaksw
case lx-mips64:
set JAVA_LIB_ARCH = mips64el
breaksw
--- gridengine-8.1.9+dfsg.orig/source/dist/util/arch
+++ gridengine-8.1.9+dfsg/source/dist/util/arch
@@ -206,6 +206,9 @@ Linux)
lxmachine=amd64
fi
;;
+ loongarch64)
+ lxmachine=loong64
+ ;;
mips)
lxmachine=mips
maybe_el
--- gridengine-8.1.9+dfsg.orig/source/scripts/compilearch
+++ gridengine-8.1.9+dfsg/source/scripts/compilearch
@@ -185,6 +185,11 @@ case $buildarch in
COMPILE_ARCH=LINUXIA64
TARGET_BITS=TARGET_64BIT
;;
+ lx-loong64)
+ BUILDARCH=LINUXLOONG64
+ COMPILE_ARCH=LINUXLOONG64
+ TARGET_BITS=TARGET_64BITT
+ ;;
lx-mips)
BUILDARCH=LINUXMIPS
COMPILE_ARCH=LINUXMIPS
Reply to: