3 ;;; Defsystem for building LaPACK for Maxima.
5 ;;; Use (mk:oos "lapack-interface" :compile) to compile the maxima
8 (mk:defsystem lapack-package
9 :source-pathname (maxima::maxima-load-pathname-directory)
10 :binary-pathname (maxima::maxima-objdir "share" "lapack")
11 :source-extension "lisp"
13 ((:file "lapack-package")))
16 :source-pathname (maxima::maxima-load-pathname-directory)
17 :binary-pathname (maxima::maxima-objdir "share" "lapack")
18 :source-extension "lisp"
19 :depends-on ("lapack-package")
33 :depends-on ("lsame" "xerbla"))
35 :depends-on ("lsame" "xerbla"))
37 :depends-on ("lsame" "xerbla"))
39 :depends-on ("xerbla"))
43 :depends-on ("lsame" "xerbla"))
45 :depends-on ("lsame" "xerbla"))
47 :depends-on ("lsame" "xerbla"))
49 :depends-on ("lsame" "xerbla"))
52 :depends-on ("lsame" "xerbla"))
54 :depends-on ("lsame" "xerbla"))
56 :depends-on ("lsame" "xerbla"))
58 :depends-on ("lsame" "xerbla"))
60 :depends-on ("lsame" "xerbla"))
62 :depends-on ("lsame" "xerbla"))
64 :depends-on ("lsame" "xerbla"))
66 :depends-on ("lsame" "xerbla"))
68 :depends-on ("lsame" "xerbla"))
70 :depends-on ("lsame" "xerbla"))
72 :depends-on ("lsame" "xerbla"))
74 :depends-on ("lsame" "xerbla"))
76 :depends-on ("lsame" "xerbla"))
78 :depends-on ("lsame" "xerbla"))
80 :depends-on ("dcabs1"))
85 :depends-on ("dcabs1"))
91 :depends-on ("dcabs1"))
128 :source-pathname (maxima::maxima-load-pathname-directory)
129 :binary-pathname (maxima::maxima-objdir "share" "lapack")
130 :source-extension "lisp"
131 :depends-on ("lapack-package" "blas")
137 :depends-on ("dlartg" "dlapy2" "dgebak" "dtrevc" "dhseqr"
138 "dorghr" "dlacpy" "dgehrd" "dgebal"
139 "dlascl" "dlange" "dlabad" "dlamch"
144 :depends-on ("dlahrd" "dlarfb" "dgehd2" "ilaenv"))
146 :depends-on ("dlarfx" "dlarfg" "dlapy2" "dlacpy" "dlanhs"
147 "dlabad" "dlamch" "dlahqr" "ilaenv"
152 :depends-on ("dlamc2" "dlamc3" "dlamc4" "dlamc5"))
154 :depends-on ("dlamc3"))
156 :depends-on ("dlamc1" "dlamc3" "dlamc4" "dlamc5"))
161 :depends-on ("dlassq"))
164 :depends-on ("dlamch"))
166 :depends-on ("dlamch"))
168 :depends-on ("dorgqr" "ilaenv"))
170 :depends-on ("dlabad" "dlamch" "dlaln2"))
172 :depends-on ("ieeeck"))
174 :depends-on ("dlarfg"))
177 :depends-on ("dlarfg" "dlarf"))
180 :depends-on ("dlanhs" "dlarfg" "dlanv2" "dlabad" "dlamch"))
182 :depends-on ("dlassq"))
184 :depends-on ("dlapy2" "dlamch"))
188 :depends-on ("dorg2r" "dlarft" "dlarfb" "ilaenv"))
190 #+ecl :load-only #+ecl t
191 :depends-on ("dladiv"
196 :depends-on ("dlapy2" "dlamch"))
198 :depends-on ("dlarf"))
204 :depends-on ("dlartg" "dlapy2" "dgebak" "dtrsna" "dtrevc"
205 "dhseqr" "dorghr" "dlacpy" "dgehrd"
206 "dgebal" "dlascl" "dlange" "dlabad"
209 :depends-on ("dtrexc" "dlacon" "dlaqtr"
210 "dlacpy" "dlapy2" "dlamch"))
212 :depends-on ("dlaexc"))
215 :depends-on ("dladiv" "dlaln2" "dlange" "dlamch"))
217 :depends-on ("dlasy2" "dlanv2" "dlarfg" "dlamch" "dlange"
220 #+ecl :load-only #+ecl t
221 :depends-on ("dlamch"))
225 :depends-on ("dgetrf" "dgetrs"))
227 :depends-on ("dgetf2" "dlaswp" "ilaenv"))
229 :depends-on ("dlaswp"))
235 :depends-on ("dorglq" "dgelqf" "dorgbr" "dormbr" "dorgqr"
236 "dlacpy" "dbdsdc" "dgebrd" "dlaset"
237 "dgeqrf" "dlascl" "dlange" "dlamch"
240 :depends-on ("dlasr" "dlasda" "dlasd0" "dlamch" "dlascl"
241 "dlanst" "dlaset" "dlasdq"
244 :depends-on ("dlabrd" "dgebd2" "ilaenv"))
246 :depends-on ("dgelq2" "dlarfb" "dlarft" "ilaenv"))
248 :depends-on ("dorglq" "dorgqr" "ilaenv"))
250 :depends-on ("dorgl2" "dlarfb" "dlarft" "ilaenv"))
252 :depends-on ("dlarf"))
254 :depends-on ("dormqr" "dormlq" "ilaenv"))
256 :depends-on ("dlasr" "dbdsqr" "dlartg"))
258 :depends-on ("dlassq"))
260 :depends-on ("dlasdt" "dlasd1" "dlasdq"))
262 :depends-on ("dlasd6" "dlaset" "dlasdq" "dlasdt"))
265 :depends-on ("dlarfg"))
267 :depends-on ("dlarf" "dlarfg"))
269 :depends-on ("dlarf" "dlarfg"))
271 :depends-on ("dorm2r" "dlarfb" "dlarft" "ilaenv"))
273 :depends-on ("dorml2" "dlarfb" "dlarft" "ilaenv"))
275 :depends-on ("dgeqr2" "dlarfb" "dlarft" "ilaenv"))
277 :depends-on ("dlasq1" "dlasv2" "dlas2" "dlasr" "dlartg"
280 :depends-on ("dlas2" "dlasrt" "dlasq2" "dlascl"))
282 :depends-on ("dlamch"))
286 :depends-on ("dlasd2" "dlasd3" "dlamrg" "dlascl"))
289 :depends-on ("dlasq3" "ilaenv" "dlasrt" "dlamch"))
291 :depends-on ("dlamrg" "dlacpy" "dlaset" "dlapy2" "dlamch"
294 :depends-on ("dlasd4" "dlacpy" "dlascl" "dlamch"))
297 :depends-on ("dlasd7" "dlasd8"))
300 :depends-on ("dlarf" "dlarfg"))
302 :depends-on ("dlarf"))
304 :depends-on ("dlasd5" "dlaed6"))
306 :depends-on ("dlapy2" "dlamch" "dlamrg"))
308 :depends-on ("dlasd4" "dlaset" "dlascl" "dlamch"))
310 :depends-on ("dlasq4" "dlasq5" "dlasq6" "dlamch"))
314 :depends-on ("dlamch"))
317 :depends-on ("dlamch"))
321 :depends-on ("dorglq" "dgelqf" "dormbr" "dorgqr" "dlacpy"
322 "dbdsqr" "dorgbr" "dgebrd" "dlaset"
323 "dgeqrf" "dlascl" "dlange" "dlamch"
326 ;; For condition numbers of the singular vectors
330 :depends-on ("zlassq"))
332 ;; Complex eigen problems
334 :depends-on ("zhseqr" "zlange" "zlascl" "zgebal" "zlacpy" "zunghr"
335 "ztrevc" "zgebak" "zgehrd"))
337 :depends-on ("zlaqr0" "zlaset" "zlahqr" "zlacpy"))
339 :depends-on ("zlassq"))
341 :depends-on ("disnan"))
344 :depends-on ("disnan"))
346 :depends-on ("zungqr"))
348 :depends-on ("zlatrs"))
350 :depends-on ("zlatrs"))
352 :depends-on ("zladiv"))
354 :depends-on ("zung2r" "zlarft" "zlarfb"))
356 :depends-on ("dlaisnan"))
361 :depends-on ("zlarf"))
363 :depends-on ("zlacgv"))
365 :depends-on ("ilazlr" "ilazlc" "zlacgv"))
370 :depends-on ("ilazlc" "ilazlr"))
372 :depends-on ("zlahqr" "zlaqr3" "zlaqr4" "zlaqr5" "zlacpy"))
375 :depends-on ("zgehrd" "zunmhr" "zlahqr" "ztrexc" "zlarfg"
376 "zlaqr4" "zlacpy" "zlaset"))
378 :depends-on ("zlaqr2" "zlahqr" "zlacpy" "zlaqr5"))
380 :depends-on ("zlaqr1" "zlarfg" "zlaset" "zlacpy"))
383 :depends-on ("zunmhr" "ztrexc" "zlacpy" "zlaset"))
385 :depends-on ("dlapy3" "zladiv"))
387 :depends-on ("zlarfg" "zladiv"))
389 :depends-on ("zlahr2" "zgehd2" "zlarfb"))
391 :depends-on ("zunmqr"))
393 :depends-on ("zlartg" "zrot" "zunm2r"))
398 :depends-on ("zunm2r" "zlarft" "zlarfb"))
400 :depends-on ("zlacgv" "zlacpy"))
402 :depends-on ("zlarfg" "zlarf"))
406 :depends-on ("dsterf" "zhetrd" "zlanhe" "zsteqr" "zungtr"))
408 :depends-on ("dlae2"))
410 :depends-on ("zlatrd" "zhetd2"))
412 :depends-on ("dlaev2" "zlasr" "dlae2"))
415 :depends-on ("zungql"))
422 :depends-on ("zung2l"))
426 (mk:defsystem lapack-interface
427 :source-pathname (maxima::maxima-load-pathname-directory)
428 :binary-pathname (maxima::maxima-objdir "share" "lapack")
429 :source-extension "lisp"
430 :depends-on ("lapack")