Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#13736 - Compiling maxima with cmucl instead of clisp

Attached to Project: Arch Linux
Opened by Olive (olivel) - Tuesday, 10 March 2009, 19:16 GMT
Last edited by Ronald van Haren (pressh) - Friday, 13 March 2009, 10:36 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

It would be a better idea to provide a maxima package that use CMUCL instead of CLISP. CMUCL is compiled to machine code instead of bytecode for CLISP and run about 5 times faster. It is just a question of calling the configure script with --with-cmucl --with-default-lisp=cmucl.cmucl do not have support for readline (so we should remove it from the dependencies) but we can have it by installing rlwrap and using the script rmaxima (present in the maxima package) instead of maxima. We could add an optdepend and/or a message telling the user to do so.
This task depends upon

Closed by  Ronald van Haren (pressh)
Friday, 13 March 2009, 10:36 GMT
Reason for closing:  Implemented
Additional comments about closing:  I just pushed sbcl based maxima to extra. Testsuite runs fine.
Comment by Eric Belanger (Snowman) - Tuesday, 10 March 2009, 19:32 GMT
cmucl is not availiable on x86_64. So I guess this won't be implemented.
Comment by Ronald van Haren (pressh) - Tuesday, 10 March 2009, 20:02 GMT
I'll keep this open until x86_64 cmucl comes out so we can make a decission after that. Added dependecy on  FS#9307  to track the progress on x86_64 cmucl.
Comment by Olive (olivel) - Wednesday, 11 March 2009, 09:35 GMT
Following the cmucl homepage 64 bits architecture are not supported; I am not sure it would be so easy to make it works on 64 bits architecture. But other lisp implementation exists (sbcl, a fork of cmucl), gcl. Clisp is one of the slowest lisp. I would make sense to compile maixma for some fast lisp.
Comment by Ronald van Haren (pressh) - Wednesday, 11 March 2009, 12:51 GMT
Building against sbcl seems to work fine and results in some major speed improvements in the command I used to test the speed:
#######
sum:0,
for i:10 thru 10000 do sum:sum+i;
#######

I'll add 5.17.1-4 in testing to see if we have some negative side effects. I'll keep this bug open until I move it to extra.
Comment by Olive (olivel) - Wednesday, 11 March 2009, 16:45 GMT
A good benchamrks is to run:
run_testsuite();

that make a huge amount of tests. It is also a good idea to run it to see if maxima works properly.

Loading...