Package: mpi-defaults
Version: 1.14
Severity: wishlist
Tags: patch
User: debian-de...@lists.debian.org
Usertags: loongarch64

   Dear maintainers,

Please add support for loongarch64 (64-bit LoongArch) in mpi-defaults, default to openmpi. And loong64 is dpkg architecture for loongarch64.
I have compiled the packages on local Debian system as follows
mpi-default-bin_1.14_loong64.deb
mpi-default-dev_1.14_loong64.deb

Please consider the patch attached.
For ease of viewing, you can also review the following link [1].
If you have any questions, you can contact me at any time.

[1]:https://salsa.debian.org/science-team/mpi-defaults/-/merge_requests/1

thanks,
Dandan Zhang

diff -Nru mpi-defaults-1.14/debian/control mpi-defaults-1.14/debian/control
--- mpi-defaults-1.14/debian/control    2021-08-04 13:43:05.000000000 +0000
+++ mpi-defaults-1.14/debian/control    2021-08-04 13:46:55.000000000 +0000
@@ -10,8 +10,8 @@
  Alastair McKinstry <mckins...@debian.org>,
 Build-Depends:
  debhelper-compat (= 13),
- libopenmpi-dev (>= 1.4.3-2.1) [alpha amd64 arm64 armel armhf hppa hurd-i386 
i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mips64el mipsel powerpc 
powerpcspe ppc64 ppc64el riscv64 s390x sh4 sparc64 x32],
- openmpi-bin (>= 1.4.3-2.1) [alpha amd64 arm64 armel armhf hppa hurd-i386 i386 
ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mips64el mipsel powerpc powerpcspe 
ppc64 ppc64el riscv64 s390x sh4 sparc64 x32],
+ libopenmpi-dev (>= 1.4.3-2.1) [alpha amd64 arm64 armel armhf hppa hurd-i386 
i386 ia64 kfreebsd-amd64 kfreebsd-i386 loong64 m68k mips mips64el mipsel 
powerpc powerpcspe ppc64 ppc64el riscv64 s390x sh4 sparc64 x32],
+ openmpi-bin (>= 1.4.3-2.1) [alpha amd64 arm64 armel armhf hppa hurd-i386 i386 
ia64 kfreebsd-amd64 kfreebsd-i386 loong64 m68k mips mips64el mipsel powerpc 
powerpcspe ppc64 ppc64el riscv64 s390x sh4 sparc64 x32],
 # libmpich-dev [],
 # mpich []
 Rules-Requires-Root: no
@@ -20,7 +20,7 @@
 Vcs-Git: https://salsa.debian.org/science-team/mpi-defaults.git
 
 Package: mpi-default-dev
-Architecture: alpha amd64 arm64 armel armhf hppa hurd-i386 i386 ia64 
kfreebsd-amd64 kfreebsd-i386 m68k mips mips64el mipsel powerpc powerpcspe ppc64 
ppc64el riscv64 s390x sh4 sparc64 x32
+Architecture: alpha amd64 arm64 armel armhf hppa hurd-i386 i386 ia64 
kfreebsd-amd64 kfreebsd-i386 loong64 m68k mips mips64el mipsel powerpc 
powerpcspe ppc64 ppc64el riscv64 s390x sh4 sparc64 x32
 Section: libdevel
 Depends: ${mpi-dev}, ${misc:Depends}
 Description: Standard MPI development files (metapackage)
@@ -31,7 +31,7 @@
  compilers mpicc, mpic++/mpicxx/mpiCC, mpif77 and mpi90 and their manpages.
 
 Package: mpi-default-bin
-Architecture: alpha amd64 arm64 armel armhf hppa hurd-i386 i386 ia64 
kfreebsd-amd64 kfreebsd-i386 m68k mips mips64el mipsel powerpc powerpcspe ppc64 
ppc64el riscv64 s390x sh4 sparc64 x32
+Architecture: alpha amd64 arm64 armel armhf hppa hurd-i386 i386 ia64 
kfreebsd-amd64 kfreebsd-i386 loong64 m68k mips mips64el mipsel powerpc 
powerpcspe ppc64 ppc64el riscv64 s390x sh4 sparc64 x32
 Section: net
 Depends: ${mpi}, ${misc:Depends}
 Description: Standard MPI runtime programs (metapackage)
diff -Nru mpi-defaults-1.14/debian/rules mpi-defaults-1.14/debian/rules
--- mpi-defaults-1.14/debian/rules      2021-08-04 13:43:02.000000000 +0000
+++ mpi-defaults-1.14/debian/rules      2021-08-04 13:46:55.000000000 +0000
@@ -21,6 +21,7 @@
        ia64 \
        kfreebsd-amd64 \
        kfreebsd-i386 \
+       loong64 \
        mips \
        mips64el \
        mipsel \
@@ -47,6 +48,7 @@
        ia64 \
        kfreebsd-amd64 \
        kfreebsd-i386 \
+       loong64 \
        m68k \
        mips \
        mips64el \
@@ -76,6 +78,7 @@
        ia64 \
        kfreebsd-amd64 \
        kfreebsd-i386 \
+       loong64 \
        m68k \
        mips \
        mips64el \

Reply via email to