-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsento.asd
140 lines (129 loc) · 4.52 KB
/
sento.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
137
138
139
(defsystem "sento"
:version "3.4.0"
:author "Manfred Bergmann"
:license "Apache-2"
:description "Actor framework featuring actors and agents for easy access to state and asynchronous operations."
:depends-on ("alexandria"
"log4cl"
"bordeaux-threads"
"cl-speedy-queue"
"str"
"blackbird"
"binding-arrows"
"timer-wheel"
"local-time-duration"
#-abcl "atomics"
)
:components ((:module "src"
:serial t
:components
((:module "atomic"
:components
((:file "atomic-api")
#-abcl (:file "atomic")
#+abcl (:file "atomic-abcl")))
(:file "config")
(:file "wheel-timer")
(:file "timeutils")
(:file "miscutils")
(:file "fcomputation")
(:file "dispatcher-api")
(:module "queue"
:components
((:file "queue")
(:file "queue-locked")
;;#+sbcl (:file "queue-sbcl")
))
(:module "mbox"
:components
((:file "message-box")))
(:file "actor-cell")
(:file "actor-api")
(:file "eventstream-api")
(:file "actor-system-api")
(:file "actor-context-api")
(:file "fasync-completed")
(:file "actor")
(:file "agent")
(:file "eventstream")
(:file "fsm")
(:file "tasks")
(:file "router")
(:file "stash")
(:file "dispatcher")
(:file "actor-context")
(:file "actor-system")
(:module "agent-usecase"
:components
((:file "agent-usecase-commons")
(:file "hash-agent")
(:file "array-agent")))
(:file "package"))))
:in-order-to ((test-op (test-op "sento/tests"))))
(defsystem "sento/tests"
:author "Manfred Bergmann"
:depends-on ("sento"
"fiveam"
"lparallel"
"cl-mock")
:components ((:module "tests"
:components
((:file "all-test")
(:file "miscutils-test")
(:file "timeutils-test")
(:file "atomic-test")
(:file "config-test")
(:file "wheel-timer-test")
(:file "bounded-queue-test")
(:file "actor-cell-test")
(:file "actor-mp-test")
(:file "agent-test")
(:file "hash-agent-test")
(:file "array-agent-test")
(:file "actor-test")
(:file "fsm-test")
(:file "router-test")
(:file "stash-test")
(:file "tasks-test")
(:file "eventstream-test")
(:file "actor-context-test")
(:file "fcomputation-test")
(:file "fasync-completed-test")
(:file "dispatcher-test")
(:file "actor-system-test")
(:file "actor-tree-test")
(:file "spawn-in-receive-test")
)))
:description "Test system for sento"
:perform (test-op (op c) (symbol-call :fiveam :run!
(uiop:find-symbol* '#:test-suite
'#:sento.tests))))
;; --------------------------------
;; documentation
;; --------------------------------
(defsystem "sento/docs"
:author "Manfred Bergmann"
:description "Documentation for sento"
:depends-on ("sento"
"mgl-pax/full")
:components ((:file "documentation")))
;; --------------------------------
;; benchmark
;; --------------------------------
(defsystem "sento/bench"
:author "Manfred Bergmann"
:description "Benchmark for Sento"
:depends-on ("sento"
"trivial-benchmark"
"trivial-garbage")
:components ((:file "bench")))
;; load system
;; (asdf:load-system "sento")
;;
;; test system
;; (asdf:test-system "sento/tests")
;;
;; (hlp:document (asdf:find-system :sento) :only-exported t)
;; (pax:update-asdf-system-html-docs sento.docs::@sento :sento :target-dir #P"~/docs/")
#|
|#