Bug#1060369: gridengine: please add support for loong64
On Fri, 21 Feb 2025 10:49:22 +0200 Wouter Verhelst
wrote:
> On Tue, Jan 14, 2025 at 02:46:36PM +0800, wuruilong wrote:
> > Hello,
> >
> > On Sat, 24 Aug 2024 08:57:11 -0700 Afif Elghraoui wrote:
> >
> > > Hello,
> > >
> > > On 8/18/24 18:33, wuruilong wrote:
> > > >
> > > > Upstream has been merged into PR, please
upgrade the software
> > version of debian or merge the attached patch. PR link:
> > [1]https://github.com/daimh/sge/pull/38/files.
> > > >
> > >
> > > Thanks for your patch and pointing out the new
upstream fork. I'm
> > sorry
> > > my time for Debian is limited at the moment, but
I'm not standing in
> > the
> > > way of team members (or non-team members) who wish
to push this in.
> > >
> > > thanks and regards
> > > Afif
> > >
> > > --
> > > Afif Elghraoui | عفيف الغراوي
> > > [2]https://afif.ghraoui.name
> > >
> > >
> >
> > Can someone help merge this patch?
>
> I had a look, but I can see from a distance that that patch
breaks the
> build for ia64, s390, and s390x.
>
> I left a comment on the patch at github explaining the
problem.
>
> Please fix that problem first.
>
> --
> w@uter.{be,co.za}
> wouter@{grep.be,fosdem.org,debian.org}
>
> I will have a Tin-Actinium-Potassium mixture, thanks.
>
>
Sorry I just saw your message, I see that the latest code has
been committed to fix this issue, link for details:
https://github.com/daimh/sge/commit/c18e611406fe32a08f72ad8399faa4107d17cce7.
According to the latest upstream code generate a patch, please use
the attached new patch.
wuruilong
--- gridengine-8.1.9+dfsg.orig/source/aimk
+++ gridengine-8.1.9+dfsg/source/aimk
@@ -1960,6 +1960,9 @@ if ( $JNI == 1 ) then
case lx-x32:
set JAVA_LIB_ARCH = `expr substr $buildarch 4 9`
breaksw
+ case lx-loong64:
+ set JAVA_LIB_ARCH = loong64
+ breaksw
case lx-ppc64:
if ($FORCE_32BIT == 1) then
set JAVA_LIB_ARCH = ppc
--- 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: