FS#40984 - [cmucl] Updated, fixed, simplified PKGBUILD, builds and works on x86_64 multilib

Attached to Project: Arch Linux
Opened by Alain Kalker (ackalker) - Thursday, 26 June 2014, 12:51 GMT
Last edited by Jürgen Hötzel (juergen) - Tuesday, 15 November 2016, 20:25 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Please consider my PKGBUILD, which updates cmucl to version 20e.
It also has some fixes, and it builds and works on an x86_64 multilib system as well.

Changes:

- Update to version 20e.

- Builds and works on x86_64 multilib.
The configuration src/lisp/Config.x86_linux is already setup correctly for multilib building (it uses '-m32'), but this appears not to be documented anywhere.
The multilib package only needs a dependency on lib32-glibc, no need for multilib X libraries.

- Set CMUCLLIB instead of CMUCLCORE. The old setting prevents building of sse2f images. The new PKGBUILD builds both x86f and sse2f images. CMUCL will choose which to load, depending on capabilities of the CPU.

- Use upstream build system.
This also fixes a mistake in the ordering of the build steps: see genesis circularity: http://trac.common-lisp.net/cmucl/wiki/BuildingCmucl.
The upstream build-all.sh also builds sse2f images, which were missing from the original package

- Install distribution without creating intermediary tarballs.
The original PKGBUILD clobbers the upstream tarballs, leading to makepkg signature check errors on subsequent package rebuilds.

- No need for a wrapper script.
CMUCL by default already knows how to find its images and modules. Not wrapping `lisp` allows users to use their own wrappers to override CMUCLLIB. Package sample-wrapper as an example for this.

Additional info:
* package version(s)
cmucl 20e-1
* config and/or log files etc.


Steps to reproduce:

- All these tests should work on i686 and x86_64 multilib.

ASDF, demos
$ lisp
* (require :asdf)
* (require :demos)
* (demos:do-all-demos)

Hemlock
$ lisp
* (require :clx)
* (require :hemlock)
* (ed)
This task depends upon

Closed by  Jürgen Hötzel (juergen)
Tuesday, 15 November 2016, 20:25 GMT
Reason for closing:  Implemented
Comment by Doug Newgard (Scimmia) - Monday, 06 July 2015, 14:26 GMT
ping juergen...
Comment by Jürgen Hötzel (juergen) - Tuesday, 14 July 2015, 17:52 GMT
SRY for the delay: Checking it out right now
Comment by Jürgen Hötzel (juergen) - Tuesday, 14 July 2015, 19:22 GMT
Build of i686 fails:

==> Beginne package()...
linux-4 isn't a directory
Comment by Levente Polyak (anthraxx) - Monday, 10 October 2016, 22:38 GMT
what exactly is the status of this ticket and this package in general?
Comment by Jürgen Hötzel (juergen) - Tuesday, 15 November 2016, 20:25 GMT
cmucl 21b is available in extra/i686 and multilib/x86_64

Loading...