more tests to track down multiple regression failures
[CommonLispStat.git] / lispstat.asd
blobcdb224615b363846064e57950bcba6ca6990d6ae
1 ;;  -*- mode: lisp -*-
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
19                                #+sbcl "sbcl-fasl"
20                                #+openmcl "openmcl-fasl"
21                                #+cmu "cmucl-fasl"
22                                #+clisp "clisp-fasl"
23                                #-(or sbcl openmcl clisp cmucl) "fasl"
24                                )))
26 (defmethod source-file-type ((c lispstat-lsp-source-file) (s module)) "lsp")
27 (defmethod asdf::output-files :around ((operation compile-op)
28                                        (c lispstat-lsp-source-file))
29   (list (merge-pathnames *fasl-directory*
30                          (compile-file-pathname (component-pathname c)))))
31 ;;; again, thanks to Cyrus for saving me time...
34 (defsystem "lispstat"
35   :version #.(with-open-file
36                  (vers (merge-pathnames "version.lisp-expr" *load-truename*))
37                (read vers))
38   :author "A.J. Rossini <blindglobe@gmail.com>"
39   :license "BSD"
40   :description "CommonLispStat (CLS): A System for Statistical Computing with Common Lisp;
41 based on CLS by Luke Tierney <luke@stat.uiowa.edu> (originally written when Luke was at CMU, apparently).
42 Last touched 1991, then in 2005--2007."
43   :serial t
44   :depends-on (:cffi :lift) ;;  :clem) not yet but soon!
45   :components ((:static-file "version" :pathname #p"version.lisp-expr")
46                (:lispstat-lsp-source-file "lsobjects")
47                (:lispstat-lsp-source-file "cffiglue")
48                (:lispstat-lsp-source-file "defsys")
49                (:lispstat-lsp-source-file "lstypes")
50                (:lispstat-lsp-source-file "lsfloat")
52                (:lispstat-lsp-source-file "compound" 
53                                           :depends-on ("lsobjects"))
54                (:lispstat-lsp-source-file "lsmacros" 
55                                           :depends-on ("compound"))
57                (:lispstat-lsp-source-file "dists"
58                                           :depends-on ("cffiglue"
59                                                        "lsmacros"))
61                (:lispstat-lsp-source-file "lsmath"
62                                           :depends-on ("lsobjects"
63                                                        "compound"
64                                                        "lsmacros"
65                                                        "lsfloat"))
68                (:lispstat-lsp-source-file "matrices"
69                                           :depends-on ("cffiglue"
70                                                        "compound"))
72                (:lispstat-lsp-source-file "ladata"
73                                           :depends-on ("cffiglue"
74                                                        "defsys"
75                                                        "lstypes"
76                                                        "compound"
77                                                        "matrices"))
79                (:lispstat-lsp-source-file "linalg"
80                                           :depends-on ("cffiglue"
81                                                        "lsmath"
82                                                        "matrices"
83                                                        "ladata"
84                                                        "lsfloat"
85                                                        "lstypes"
86                                                        "compound"))
88                (:file "data" :depends-on ("lsobjects"
89                                           "compound"
90                                           "matrices"
91                                           "linalg"))
93                ;; there is a circ reference which we need to solve.
94                (:lispstat-lsp-source-file "lsbasics"
95                                           :depends-on ("lsobjects"
96                                                        "lstypes"
97                                                        "lsmacros"
98                                                        "lsfloat"
99                                                        "matrices"
100                                                        "linalg"
101                                                        "dists"))
103                (:lispstat-lsp-source-file "statistics"
104                                           :depends-on ("lsobjects"
105                                                        "lsbasics"
106                                                        "compound"
107                                                        "ladata" "matrices" "linalg"
108                                                        "lsmath"
109                                                        "data" ))
111                (:file "optimize" :depends-on ("lsobjects"
112                                               "cffiglue"
113                                               "lstypes"
114                                               "compound"
115                                               "lsmath"
116                                               "lsfloat"
117                                               "lsbasics"
118                                               "matrices"
119                                               "ladata"
120                                               "linalg"))
121                
122                ;; Applications
123                (:lispstat-lsp-source-file "regression"
124                                           :depends-on ("lsobjects"
125                                                        "lsbasics"
126                                                        "compound"
127                                                        "lsmath"
128                                                        "matrices"
129                                                        "linalg"
130                                                        "statistics"))
131 ;              (:lispstat-lsp-source-file "nonlin"
132 ;                                         :depends-on ("regression"))
134 ;              (:lispstat-lsp-source-file "bayes"
135 ;                                         :depends-on ("lsobjects"
136 ;                                                      "lsmath"
137 ;                                                      "dists"))
140                (:file "ls-user" :depends-on ("lsobjects"
141                                              "lsbasics"
142                                              "compound"
143                                              "dists"
144                                              "lstypes"
145                                              "lsfloat"
146                                              "data"
147                                              "lsmath"
148                                              "matrices"
149                                              "linalg"
150                                              "statistics"
151                                              "regression"))
154                (:file "unittests" :depends-on ("ls-user"))
156                ))