-
Notifications
You must be signed in to change notification settings - Fork 1
/
dub.sdl
27 lines (27 loc) · 855 Bytes
/
dub.sdl
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
name "golem"
description "A simple tensor library for the computational graph on CPU"
authors "lempiji"
license "MIT"
dependency "numir" version="~>2.0.6"
dependency "msgpack-d" version="~>1.0.4"
dependency "mir-blas" version="~>1.1.14"
dependency "mir-algorithm" version="~>3.16.5"
configuration "default" {
targetType "library"
}
configuration "unittest" {
dependency "silly" version="~>1.1.1"
targetType "library"
}
configuration "makedeps" {
targetType "library"
dflags "-deps=deps.txt"
}
configuration "diff-update" {
targetType "library"
postBuildCommands "dub fetch ddeps" "dub run ddeps -- --update"
}
configuration "diff" {
targetType "library"
postBuildCommands "dub build -c makedeps" "dub fetch ddeps" "dub run ddeps -- --focus=golem -e core -e std -e mir -e numir -o images/deps.dot" "dot -Tsvg -o images/deps.svg images/deps.dot"
}