3 ;;; Copyright (c) 2005--2006, by AJ Rossini <blindglobe@gmail.com>
4 ;;; ASDF packaging for CommonLispStat
6 ;;(asdf:oos 'asdf:load-op 'cffi)
9 (defpackage #:lispstat-system
10 (:use :asdf :common-lisp))
12 (in-package #:lispstat-system)
15 ;;; To avoid renaming everything from *.lsp to *.lisp...
16 ;;; borrowed from Cyrus Harmon's work, for example for the ch-util.
17 (defclass lispstat-lsp-source-file (cl-source-file) ())
18 (defparameter *fasl-directory*
19 (make-pathname :directory '(:relative #+sbcl "sbcl-fasl"
20 #+openmcl "openmcl-fasl"
21 #-(or sbcl openmcl) "fasl")))
23 (defmethod source-file-type ((c lispstat-lsp-source-file) (s module)) "lsp")
24 (defmethod asdf::output-files :around ((operation compile-op)
25 (c lispstat-lsp-source-file))
26 (list (merge-pathnames *fasl-directory*
27 (compile-file-pathname (component-pathname c)))))
28 ;;; again, thanks to Cyrus for saving me time...
33 :version #.(with-open-file
34 (vers (merge-pathnames "version.lisp-expr" *load-truename*))
36 :author "A.J. Rossini <blindglobe@gmail.com>"
38 :description "CommonLispStat (CLS): A System for Statistical Computing with Common Lisp;
39 based on CLS by Luke Tierney <luke@stat.uiowa.edu> (originally written when Luke was at CMU, apparently).
40 Last touched 1991, then in 2005--2007."
45 ;; kclglue.lsp kclpatch.lsp exclglue.lsp mclglue.lsp
47 :components ((:static-file "version" :pathname #p"version.lisp-expr")
48 (:lispstat-lsp-source-file "lspackages")
49 (:lispstat-lsp-source-file "lsobjects" :depends-on ("lspackages"))
50 (:lispstat-lsp-source-file "fastmap" :depends-on ("lsobjects"))
51 (:lispstat-lsp-source-file "compound" :depends-on ("lsobjects" "fastmap"))
52 (:lispstat-lsp-source-file "lsmacros" :depends-on ("compound"))
53 (:lispstat-lsp-source-file "lsbasics" :depends-on ("lsobjects" "lsmacros"))
54 (:lispstat-lsp-source-file "dists" :depends-on ("lsbasics"))
55 (:lispstat-lsp-source-file "ladata" :depends-on ("lsbasics")) ;; in lisp-stat-basics
56 (:lispstat-lsp-source-file "linalg" :depends-on ("ladata")) ;; in lisp-stat-basics
57 (:lispstat-lsp-source-file "matrices" :depends-on ("lsbasics"))
58 (:lispstat-lsp-source-file "lsfloat" :depends-on ("lsbasics")) ;; in lisp-stat-basics
59 (:lispstat-lsp-source-file "lsmath" :depends-on ("lsbasics"))
62 (:lispstat-lsp-source-file "regression" :depends-on ("lsobjects"))
63 (:lispstat-lsp-source-file "nonlin" :depends-on ("lsobjects" "regression"))
64 (:lispstat-lsp-source-file "statistics" :depends-on ("lsobjects"))
65 (:lispstat-lsp-source-file "maximize" :depends-on ("lsobjects"))
66 (:lispstat-lsp-source-file "bayes" :depends-on ("lsobjects"
67 "dists")) ; in lisp-stat
69 (:lispstat-lsp-source-file "numlib")
70 (:lispstat-lsp-source-file "defsys")
71 (:lispstat-lsp-source-file "lstoplevel")
73 ;; Testing comes last!
74 ;; (:lispstat-lsp-source-file "unittests" :depends-on ("lsobjects"))