Source: sbcl
Followup-For: Bug #1033731
Version: 2:2.4.10-1
Tags: patch

Dear Maintainer,

The good news is that sbcl the latest on Debian can be bootstraped on
riscv64. It seems we need two step to finish bootstrap on riscv64.Now
it can be built with clisp. This has been tested on my local riscv64
hardware. I am confident that it can be built with itself also, but I
will test it continuely.

Any helps I can offer please let me know, thanks!

-- 
Regards,
--
  Bo YU

diff -Nru sbcl-2.4.10/debian/changelog sbcl-2.4.10/debian/changelog
--- sbcl-2.4.10/debian/changelog        2024-11-08 10:40:48.000000000 +0800
+++ sbcl-2.4.10/debian/changelog        2024-11-12 15:36:16.000000000 +0800
@@ -1,3 +1,10 @@
+sbcl (2:2.4.10-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add build support for riscv64. (Closes: #1033731)
+
+ -- Bo YU <tsu.y...@gmail.com>  Tue, 12 Nov 2024 15:36:16 +0800
+
 sbcl (2:2.4.10-1) unstable; urgency=medium
 
   * Update to new upstream version 2:2.4.10.
diff -Nru sbcl-2.4.10/debian/control sbcl-2.4.10/debian/control
--- sbcl-2.4.10/debian/control  2024-11-08 10:40:48.000000000 +0800
+++ sbcl-2.4.10/debian/control  2024-11-12 08:57:42.000000000 +0800
@@ -6,8 +6,8 @@
 Build-Depends: debhelper-compat (= 13),
                debhelper (>= 12.8~),
 # Arch list to keep in sync with debian/rules
-               clisp [!amd64 !arm64 !armel !armhf !i386 !kfreebsd-amd64 
!powerpc !ppc64 !ppc64el !riscv64 !sh4],
-               ecl [riscv64 sh4],
+               clisp [!amd64 !arm64 !armel !armhf !i386 !kfreebsd-amd64 
!powerpc !ppc64 !ppc64el !sh4],
+               ecl [sh4],
                sbcl [amd64 arm64 armel armhf i386 kfreebsd-amd64 powerpc ppc64 
ppc64el],
                sbcl-source,
                texinfo,
diff -Nru sbcl-2.4.10/debian/.gitignore sbcl-2.4.10/debian/.gitignore
--- sbcl-2.4.10/debian/.gitignore       2024-11-08 10:40:48.000000000 +0800
+++ sbcl-2.4.10/debian/.gitignore       1970-01-01 08:00:00.000000000 +0800
@@ -1,2 +0,0 @@
-!*.diff
-!*.patch
diff -Nru sbcl-2.4.10/debian/rules sbcl-2.4.10/debian/rules
--- sbcl-2.4.10/debian/rules    2024-11-08 10:40:48.000000000 +0800
+++ sbcl-2.4.10/debian/rules    2024-11-12 13:13:34.000000000 +0800
@@ -10,7 +10,7 @@
 # As soon as a new arch is bootstrapped, the lists should be updated.
 # See https://bugs.debian.org/954031
 ifeq (,$(filter amd64 arm64 armel armhf i386 kfreebsd-amd64 powerpc ppc64 
ppc64el, $(DEB_HOST_ARCH)))
-ifneq (,$(filter riscv64 sh4, $(DEB_HOST_ARCH)))
+ifneq (,$(filter sh4, $(DEB_HOST_ARCH)))
         BOOTSTRAPLISP := /usr/bin/ecl --norc
 else
        BOOTSTRAPLISP := /usr/bin/clisp -norc

Attachment: signature.asc
Description: PGP signature

Reply via email to