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 "lsobjects")
49 (:lispstat-lsp-source-file "fastmap")
51 (:lispstat-lsp-source-file "compound"
52 :depends-on ("lsobjects"
54 (:lispstat-lsp-source-file "sequence"
55 :depends-on ("compound"))
56 (:lispstat-lsp-source-file "lsmacros"
57 :depends-on ("compound"))
59 (:lispstat-lsp-source-file "lsfloat")
60 ;; :depends-on ("lsbasics")) ;; in lisp-stat-basics
61 (:lispstat-lsp-source-file "lsmath"
62 :depends-on ("lsbasics"
65 (:lispstat-lsp-source-file "lsbasics"
66 :depends-on ("lsobjects"
70 (:lispstat-lsp-source-file "dists"
71 :depends-on ("lsbasics"))
72 (:lispstat-lsp-source-file "matrices"
73 :depends-on ("lsbasics"))
74 (:lispstat-lsp-source-file "ladata"
75 :depends-on ("lsbasics")) ;; in lisp-stat-basics
76 (:lispstat-lsp-source-file "linalg"
78 "matrices")) ;; in lisp-stat-basics
82 (:lispstat-lsp-source-file "regression"
83 :depends-on ("lsbasics"
85 (:lispstat-lsp-source-file "nonlin"
86 :depends-on ("regression"))
87 (:lispstat-lsp-source-file "statistics"
88 :depends-on ("lsobjects"))
89 (:lispstat-lsp-source-file "maximize"
90 :depends-on ("lsobjects"))
91 (:lispstat-lsp-source-file "bayes"
92 :depends-on ("lsobjects"
93 "dists")) ; in lisp-stat
95 ;;(:lispstat-lsp-source-file "numlib") ;; do we need this?
96 (:lispstat-lsp-source-file "defsys")
97 (:lispstat-lsp-source-file "lstoplevel")
99 (:lispstat-lsp-source-file "lspackages"
100 :depends-on ("lstoplevel"