3 ;;; Copyright (c) 2005--2006, by AJ Rossini <blindglobe@gmail.com>
4 ;;; ASDF packaging for CommonLispStat
5 ;;; Provided under a BSD license.
7 ;;(asdf:oos 'asdf:load-op 'cffi)
9 (defpackage #:lispstat-system
10 (:use :asdf :common-lisp))
12 (in-package #:lispstat-system)
14 ;;; To avoid renaming everything from *.lsp to *.lisp...
15 ;;; borrowed from Cyrus Harmon's work, for example for the ch-util.
16 (defclass lispstat-lsp-source-file (cl-source-file) ())
17 (defparameter *fasl-directory*
18 (make-pathname :directory '(:relative #+sbcl "sbcl-fasl"
19 #+openmcl "openmcl-fasl"
22 #-(or sbcl openmcl clisp cmucl) "fasl")))
24 (defmethod source-file-type ((c lispstat-lsp-source-file) (s module)) "lsp")
25 (defmethod asdf::output-files :around ((operation compile-op)
26 (c lispstat-lsp-source-file))
27 (list (merge-pathnames *fasl-directory*
28 (compile-file-pathname (component-pathname c)))))
29 ;;; 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."
42 :depends-on (:cffi :lift) ;; :clem) not yet but soon!
43 :components ((:static-file "version" :pathname #p"version.lisp-expr")
44 (:lispstat-lsp-source-file "lsobjects")
45 (:lispstat-lsp-source-file "cffiglue")
46 (:lispstat-lsp-source-file "defsys")
47 (:lispstat-lsp-source-file "fastmap")
48 (:lispstat-lsp-source-file "lstypes")
49 (:lispstat-lsp-source-file "lsfloat")
51 (:lispstat-lsp-source-file "compound"
52 :depends-on ("lsobjects"
54 (:lispstat-lsp-source-file "lsmacros"
55 :depends-on ("compound"))
57 (:lispstat-lsp-source-file "dists"
58 :depends-on ("cffiglue"
61 (:lispstat-lsp-source-file "lsmath"
62 :depends-on ("lsobjects"
68 (:lispstat-lsp-source-file "matrices"
69 :depends-on ("cffiglue"
72 (:lispstat-lsp-source-file "ladata"
73 :depends-on ("cffiglue"
79 (:lispstat-lsp-source-file "linalg"
80 :depends-on ("cffiglue"
88 (:file "data" :depends-on ("lsobjects"
93 ;; there is a circ reference which we need to solve.
94 (:lispstat-lsp-source-file "lsbasics"
95 :depends-on ("lsobjects"
103 (:lispstat-lsp-source-file "statistics"
104 :depends-on ("lsobjects"
107 "ladata" "matrices" "linalg"
111 (:file "optimize" :depends-on ("lsobjects"
123 (:lispstat-lsp-source-file "regression"
124 :depends-on ("lsobjects"
126 ; (:lispstat-lsp-source-file "nonlin"
127 ; :depends-on ("regression"))
129 ; (:lispstat-lsp-source-file "bayes"
130 ; :depends-on ("lsobjects"
135 (:file "ls-user" :depends-on ("lsobjects"