pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
maxima 5.14.0
Hi,
I noticed maxima has been updated to 5.14.0. It would be nice if,
perhaps using the options framework, one could choose SBCL in place of
CLISP. It seems SBCL is substantially faster than CLISP, although this
probably is due to higher memory footprint (which one could argue is
not as important these days...).
Xmaxima 'Run Tests' results:
-- maxima built using sbcl-1.0.12:
.....
No unexpected errors found.
Evaluation took:
192.336f0 seconds of real time
179.49191f0 seconds of user run time
12.650946f0 seconds of system run time
[Run times include 9.355f0 seconds GC run time.]
0 calls to %EVAL
0 page faults and
3,603,018,576 bytes consed.
-- maxima built using clisp-2.41:
.....
No unexpected errors found.
Real time: 366.69565f0 sec.
Run time: 366.27667f0 sec.
Space: 1944610948 Bytes
GC: 1289, GC time: 62.132355f0 sec.
This is on:
NetBSD loan8 4.99.48 NetBSD 4.99.48 (GENERIC) #2: Fri Jan 4 11:49:25
GMT 2008 root@loan8:/f/obj/usr/src/sys/arch/i386/compile/GENERIC i386
using just:
cpu0: Intel Pentium III (686-class), 797.52 MHz, id 0x683
cpu1: Intel Pentium III (686-class), 797.53 MHz, id 0x683
(so the speedup on this relatively slow box is valuable).
There are differences in the package sizes:
% tar tzvf /usr/pkgsrc/packages/All/maxima-CLISP-5.14.0.tgz
lib/maxima/5.14.0/binary-clisp
-r-xr-xr-x 1 root wheel 1557272 Jan 5 09:24
lib/maxima/5.14.0/binary-clisp/lisp.run
-r--r--r-- 1 root wheel 5742820 Jan 5 09:24
lib/maxima/5.14.0/binary-clisp/maxima.mem
tar: ustar vol 1, 1575 files, 36229120 bytes read, 0 bytes written in
1 secs (36229120 bytes/sec)
% tar tzvf /usr/pkgsrc/packages/All/maxima-SBCL-5.14.0.tgz
lib/maxima/5.14.0/binary-sbcl
-r--r--r-- 1 root wheel 42573836 Jan 5 10:00
lib/maxima/5.14.0/binary-sbcl/maxima.core
tar: ustar vol 1, 1574 files, 71505920 bytes read, 0 bytes written in
2 secs (35752960 bytes/sec)
% ls -l /usr/pkgsrc/packages/All/maxima*
-rw-r--r-- 1 root wheel 10582413 Jan 5 09:25
/usr/pkgsrc/packages/All/maxima-CLISP-5.14.0.tgz
-rw-r--r-- 1 root wheel 21312513 Jan 5 10:02
/usr/pkgsrc/packages/All/maxima-SBCL-5.14.0.tgz
The following (obvious) patch would allow building it on the platforms
which support SBCL:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/maxima/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 4 Jan 2008 18:49:14 -0000 1.16
+++ Makefile 5 Jan 2008 09:52:31 -0000
@@ -12,13 +12,13 @@
HOMEPAGE= http://maxima.sourceforge.net/
COMMENT= Computer algebra system
-DEPENDS+= clisp-[0-9]*:../../lang/clisp
+DEPENDS+= sbcl-[0-9]*:../../lang/sbcl
DEPENDS+= tk-[0-9]*:../../x11/tk
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-clisp
+CONFIGURE_ARGS+= --enable-sbcl
USE_TOOLS+= perl
REPLACE_SH= doc/misc/grepforvariables.sh
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/math/maxima/PLIST,v
retrieving revision 1.8
diff -u -r1.8 PLIST
--- PLIST 3 Jan 2008 20:13:26 -0000 1.8
+++ PLIST 5 Jan 2008 09:52:33 -0000
@@ -5,8 +5,7 @@
info/maxima-index.lisp
info/maxima.info
info/xmaxima.info
-lib/maxima/${PKGVERSION}/binary-clisp/lisp.run
-lib/maxima/${PKGVERSION}/binary-clisp/maxima.mem
+lib/maxima/${PKGVERSION}/binary-sbcl/maxima.core
libexec/maxima/${PKGVERSION}/mgnuplot
man/man1/maxima.1
share/maxima/${PKGVERSION}/demo/array.dem
@@ -1645,6 +1644,6 @@
@dirrm share/maxima
@dirrm libexec/maxima/${PKGVERSION}
@dirrm libexec/maxima
-@dirrm lib/maxima/${PKGVERSION}/binary-clisp
+@dirrm lib/maxima/${PKGVERSION}/binary-sbcl
@dirrm lib/maxima/${PKGVERSION}
@dirrm lib/maxima
--
----------------------------------------------------------------
/dev/random says:
Remember, UNIX spelled backwards is XINU.
----------------------------------------------------------------
Chavdar Ivanov | Talbot Way, Small Heath Business Park
Delcam UK | Birmingham B10 0HJ, United Kingdom
Customer Support | (+44)121-6831014
----------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index