Bug#1088669: nqp: add build support for loong64

zhangdandan zhangdandan at loongson.cn
Fri Nov 29 09:53:34 GMT 2024


Source: nqp
Version: 2024.09+dfsg-2
Severity: wishlist
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,


Dependency installability problem for rakudo on loong64:
rakudo build-depends on missing:
- nqp:loong64 (>= 2024.09~)

nqp lacks of loong64 support in d/control.
Please consider the patch I attached.
I have built npq successfully on my local ENV.
```
......
t/concurrency/04-osr-crash.t ...........
1..3
ok 1 - in thread
ok 2 - in thread
ok 3 - Thread with top level loop survived
ok
All tests successful.
Files=144, Tests=13471, 49 wallclock secs ( 1.77 usr  0.51 sys + 55.13 
cusr  2.11 csys = 59.52 CPU)
Result: PASS
......
dpkg-deb: building package 'nqp-dbgsym' in 
'../nqp-dbgsym_2024.09+dfsg-2+loong64_loong64.deb'.
dpkg-deb: building package 'nqp-data' in 
'../nqp-data_2024.09+dfsg-2+loong64_all.deb'.
dpkg-deb: building package 'nqp' in 
'../nqp_2024.09+dfsg-2+loong64_loong64.deb'.
  dpkg-genbuildinfo -O../nqp_2024.09+dfsg-2+loong64_loong64.buildinfo
  dpkg-genchanges -O../nqp_2024.09+dfsg-2+loong64_loong64.changes
```

Best regards,
Dandan Zhang

-------------- next part --------------
diff -Nru nqp-2024.09+dfsg/debian/changelog nqp-2024.09+dfsg/debian/changelog
--- nqp-2024.09+dfsg/debian/changelog	2024-10-29 16:39:03.000000000 +0000
+++ nqp-2024.09+dfsg/debian/changelog	2024-11-29 09:42:20.000000000 +0000
@@ -1,3 +1,9 @@
+nqp (2024.09+dfsg-2+loong64) unreleased; urgency=medium
+
+  * Append loong64 to Architecture list.
+
+ -- Dandan Zhang <zhangdandan at loongson.cn>  Fri, 29 Nov 2024 17:42:20 +0800
+
 nqp (2024.09+dfsg-2) unstable; urgency=medium
 
   * add gbp.conf to switch main branch to debian/sid
diff -Nru nqp-2024.09+dfsg/debian/ci/gitlab-ci.salsa.yml nqp-2024.09+dfsg/debian/ci/gitlab-ci.salsa.yml
--- nqp-2024.09+dfsg/debian/ci/gitlab-ci.salsa.yml	2024-10-29 16:39:03.000000000 +0000
+++ nqp-2024.09+dfsg/debian/ci/gitlab-ci.salsa.yml	2024-11-29 09:42:20.000000000 +0000
@@ -105,6 +105,9 @@
 build riscv64:
   extends: .build-package-riscv64
 
+build loong64:
+  extends: .build-package-loong64
+
 build source:
   extends: .build-source-only
 
diff -Nru nqp-2024.09+dfsg/debian/control nqp-2024.09+dfsg/debian/control
--- nqp-2024.09+dfsg/debian/control	2024-10-29 16:39:03.000000000 +0000
+++ nqp-2024.09+dfsg/debian/control	2024-11-29 09:35:36.000000000 +0000
@@ -17,7 +17,7 @@
 Rules-Requires-Root: no
 
 Package: nqp
-Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mips64el mipsel powerpc ppc64 ppc64el s390x x32 riscv64
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 loong64 mips mips64el mipsel powerpc ppc64 ppc64el s390x x32 riscv64
 Depends: ${misc:Depends},
          ${moarvm:Depends},
          ${shlibs:Depends},


More information about the Pkg-rakudo-devel mailing list