-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdune
80 lines (69 loc) · 2.05 KB
/
dune
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
(library
(name lambda_hash)
(flags -rectypes)
(modules lambda lambdahash tests lambdacount generate valmari mariarz)
(inline_tests)
(libraries unix hashcons zarith gmp progress domainslib containers fix)
(preprocess (pps ppx_deriving.map ppx_deriving.fold ppx_deriving.eq ppx_inline_test)))
(executable
(name gen_terms)
(flags -rectypes)
(libraries lambda_hash)
(modules gen_terms))
(executable
(name benchmark_linear)
(flags -rectypes)
(libraries lambda_hash)
(modules benchmark_linear))
(executable
(name benchmark_random)
(flags -rectypes)
(libraries lambda_hash)
(modules benchmark_random))
(executable
(name benchmark_balanced)
(flags -rectypes)
(libraries lambda_hash)
(modules benchmark_balanced))
(executable
(name benchmark_compare)
(flags -rectypes)
(libraries lambda_hash)
(modules benchmark_compare))
(rule
(target terms.bin)
(deps gen_terms.exe)
(action
(run ./gen_terms.exe -size %{env:SIZE=9} -o %{target})))
(rule
(targets linear_efficient.tsv linear_naive.tsv)
(deps benchmark_linear.exe)
(action
(run ./benchmark_linear.exe -s %{env:SIZE=9} -o1 linear_efficient.tsv -o2 linear_naive.tsv)))
(rule
(targets balanced_efficient.tsv balanced_naive.tsv)
(deps benchmark_balanced.exe)
(action
(run ./benchmark_balanced.exe -s %{env:SIZE=9} -o1 balanced_efficient.tsv -o2 balanced_naive.tsv)))
(rule
(targets random_efficient.tsv random_naive.tsv)
(deps terms.bin benchmark_random.exe)
(action
(run ./benchmark_random.exe -in terms.bin -o1 random_efficient.tsv -o2 random_naive.tsv)))
(rule
(targets compare_balanced.tsv compare_linear.tsv)
(deps benchmark_compare.exe)
(action
(run ./benchmark_compare.exe -s %{env:SIZE=9} -o1 compare_balanced.tsv -o2 compare_linear.tsv)))
(rule
(targets benchmark.pdf benchmark.log benchmark.aux)
(deps benchmark.tex
compare_balanced.tsv compare_linear.tsv
linear_naive.tsv linear_efficient.tsv
balanced_naive.tsv balanced_efficient.tsv
random_naive.tsv random_efficient.tsv
)
(action
(progn
(run pdflatex benchmark.tex)
(run pdflatex benchmark.tex))))