-
Notifications
You must be signed in to change notification settings - Fork 4
/
hyperluminal-mem.asd
136 lines (117 loc) · 4.9 KB
/
hyperluminal-mem.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
;; -*- lisp -*-
;; This file is part of HYPERLUMINAL-MEM.
;; Copyright (c) 2013-2015 Massimiliano Ghilardi
;;
;; This library is free software: you can redistribute it and/or
;; modify it under the terms of the Lisp Lesser General Public License
;; (http://opensource.franz.com/preamble.html), known as the LLGPL.
;;
;; This library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty
;; of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
;; See the Lisp Lesser General Public License for more details.
(in-package :cl-user)
(asdf:defsystem :hyperluminal-mem
:name "HYPERLUMINAL-MEM"
:version "0.6.2"
:license "LLGPL"
:author "Massimiliano Ghilardi"
:description "High-performance serialization library, designed for untrusted data"
:depends-on (#-abcl :cffi
#-abcl :osicat
;; support inverted endianity. ABCL has built-in support, CLISP 2.49 has too old asdf
#-(or abcl clisp) :swap-bytes
:trivial-features ;; for uniform #+x86-64
:stmx)
:components
((:static-file "hyperluminal-mem.asd")
(:module :lang
:components ((:file "package")
(:file "lang" :depends-on ("package"))
(:file "swap-bytes" :depends-on ("package"))))
(:module :ffi
:components ((:file "package")
(:file "ffi" :depends-on ("package"))
(:file "struct" :depends-on ("ffi"))
(:file "os" :depends-on ("ffi")))
:depends-on (:lang))
#+abcl
(:module :abcl
:components ((:file "package")
(:file "export" :depends-on ("package"))
(:file "compiler" :depends-on ("package"))
(:file "java" :depends-on ("compiler")))
:depends-on (:lang :ffi))
#+(and sbcl (or arm x86 x86-64))
(:module :sbcl
:components ((:file "package")
(:file "export" :depends-on ("package"))
(:file "compiler" :depends-on ("package"))
#+arm
(:file "arm" :depends-on ("compiler"))
#+(or x86 x86-64)
(:file "x86" :depends-on ("compiler")))
:depends-on (:lang :ffi))
(:module :mem
:components ((:file "package")
(:file "lang" :depends-on ("package"))
(:file "version" :depends-on ("lang"))
(:file "defs" :depends-on ("lang"))
(:file "native-mem" :depends-on ("defs"))
(:file "endianity" :depends-on ("native-mem"))
(:file "float" :depends-on ("endianity"))
(:file "mem" :depends-on ("float"))
(:file "constants" :depends-on ("mem"))
(:file "symbols" :depends-on ("constants"))
(:file "int" :depends-on ("symbols"))
(:file "unboxed" :depends-on ("int"))
(:file "ffi-late" :depends-on ("unboxed"))
(:file "box" :depends-on ("version" "unboxed" "ffi-late"))
(:file "magic" :depends-on ("box"))
(:file "unicode" :depends-on ("box"))
(:file "box/bignum" :depends-on ("box"))
(:file "box/ratio" :depends-on ("box/bignum"))
(:file "box/float" :depends-on ("box"))
(:file "box/complex" :depends-on ("box/float" "box/ratio"))
(:file "box/pathname" :depends-on ("box"))
(:file "box/hash-table" :depends-on ("box"))
(:file "box/list" :depends-on ("box"))
(:file "box/array" :depends-on ("box"))
(:file "box/vector" :depends-on ("box/array"))
(:file "box/string-utf-8" :depends-on ("box/vector" "unicode"))
(:file "box/string-ascii" :depends-on ("box/vector"))
(:file "box/bit-vector" :depends-on ("box/vector"))
(:file "box/symbol" :depends-on ("box"))
(:file "mvar" :depends-on ("box"))
(:file "struct" :depends-on ("mvar"))
(:file "object" :depends-on ("struct"))
(:file "object/gmap" :depends-on ("object"))
(:file "object/ghash-table" :depends-on ("object"))
(:file "object/tcell" :depends-on ("object"))
(:file "object/tstack" :depends-on ("object"))
(:file "boxed" :depends-on ("box"
"box/bignum"
"box/ratio"
"box/float"
"box/complex"
"box/pathname"
"box/hash-table"
"box/list"
"box/array"
"box/vector"
"box/string-utf-8"
"box/string-ascii"
"box/bit-vector"
"box/symbol"
"object")))
:depends-on (:lang :ffi
#+abcl :abcl
#+(and sbcl (or arm x86 x86-64)) :sbcl))
(:module :tree
:components ((:file "package")
(:file "b+node" :depends-on ("package"))
(:file "b+leaf" :depends-on ("b+node"))
(:file "b+tree" :depends-on ("b+leaf"))
(:file "test-b+tree" :depends-on ("b+tree")))
:depends-on (:mem)))
:in-order-to ((asdf:test-op (asdf:test-op "hyperluminal-mem-test"))))