[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954031: sbcl: Please allow building with clisp on currently unsupported architectures



Source: sbcl
Severity: normal
Tags: patch

Hi!

In order to provide some basic level of continuous integration for
sbcl upstream, it would be great if the sbcl package could be tried
to build on any of the currently unsupported architectures using
clisp.

sbcl has partial support for alpha, hppa, mips*, ppc64 and riscv64
and if we try to build sbcl on any architecture using clisp, we will
be able to provide upstream with a build log of sbcl on any architecture
that might be supported in the future (like ppc64 and riscv64) or
was previously supported and is currently broken (like alpha and hppa).

The attached patch enables building with clisp on all unsupported
architectures.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/sbcl-2.0.2/debian/control new/sbcl-2.0.2/debian/control
--- old/sbcl-2.0.2/debian/control	2020-03-07 09:45:04.000000000 +0100
+++ new/sbcl-2.0.2/debian/control	2020-03-16 01:08:41.739735423 +0100
@@ -7,7 +7,8 @@
 Priority: optional
 Build-Depends: debhelper-compat (= 12),
                debhelper (>= 12.8~),
-               sbcl,
+               clisp [!amd64 !arm64 !armhf !i386 !powerpc !ppc64el],
+               sbcl [amd64 arm64 armhf i386 powerpc ppc64el],
                sbcl-source,
                texinfo,
                zlib1g-dev,
diff -Nru old/sbcl-2.0.2/debian/rules new/sbcl-2.0.2/debian/rules
--- old/sbcl-2.0.2/debian/rules	2020-03-07 10:05:22.000000000 +0100
+++ new/sbcl-2.0.2/debian/rules	2020-03-16 00:52:53.830038807 +0100
@@ -4,6 +4,10 @@
 
 export DH_VERBOSE=1
 
+ifeq (,$(filter amd64 arm64 armhf i386 powerpc ppc64el, $(DEB_HOST_ARCH)))
+	BOOTSTRAPLISP := clisp
+endif
+
 ifeq (,$(BOOTSTRAPLISP))
 	BOOTSTRAPLISP := /usr/bin/sbcl --disable-debugger --no-sysinit --no-userinit
 endif

Reply to: