-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile
46 lines (33 loc) · 1.04 KB
/
Makefile
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
all: stoke build
build:
sbt compile
debug: build
cd stoke && ./configure.sh
$(MAKE) -C stoke debug
stoke:
cd stoke && ./configure.sh
$(MAKE) -C stoke all
clean:
sbt clean
cd stoke && ./configure.sh
$(MAKE) -C stoke clean
bin/statistics-regs.json:
# cache statistics about instructions and formulas (e.g. formula size)
stoke/bin/specgen_statistics --circuit_dir ../strata-data/circuits > bin/statistics-regs.json
bin/statistics-imm8.json:
# cache statistics about instructions and formulas (e.g. formula size)
stoke/bin/specgen_statistics --circuit_dir ../strata-data/circuits --two > bin/statistics-imm8.json
bin:
mkdir bin
evaluate_precompute: bin bin/statistics-regs.json bin bin/statistics-imm8.json
graphs: evaluate_precompute bin/levels.csv
scripts/graphs/progress.py
scripts/graphs/levels.py
scripts/graphs/size.py
scripts/graphs/size2.py
bin/levels.csv:
./strata evaluate
update_imm8_base:
rm -rf resources/imm8_baseset
cp -r ~/dev/circuits resources/imm8_baseset
.PHONY: build stoke clean debug update_imm8_base graphs