-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
66 lines (50 loc) · 1.51 KB
/
Makefile
File metadata and controls
66 lines (50 loc) · 1.51 KB
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
define PROJECT_HELP_MSG
Usage:
make help show this message
make clean remove intermediate files (see CLEANUP)
make start launch a jupyter server from the local virtualenv
make bench perform the behchmakrs
endef
export PROJECT_HELP_MSG
help:
echo $$PROJECT_HELP_MSG
fonts:
for i in images/*.pdf; do echo "$${i}:" >> fonts.log && pdffonts $$i >> fonts.log; done && less fonts.log && rm fonts.log
start:
jupyter notebook .
CLEANUP = *.pyc .ipynb_checkpoints/ __pycache__
build:
cd doom && CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-w -s -X main.Build=$$(git rev-parse --short HEAD)" -o ../bin/doom
bench-berlin:
cp scripts/config.berlin.sh scripts/config.sh
scripts/preflightChecks.sh
scripts/runBenchmark.sh
bench-ideko:
cp scripts/config.ideko.sh scripts/config.sh
scripts/preflightChecks.sh
scripts/runBenchmark.sh
bench-direct:
cp scripts/config.direct.sh scripts/config.sh
scripts/preflightChecks.sh
scripts/runBenchmark.sh
bench-zurich:
cp scripts/config.zurich.sh scripts/config.sh
scripts/preflightChecks.sh
scripts/runBenchmark.sh
bench-zurich-noMon:
cp scripts/config.zurich.noMonitoring.sh scripts/config.sh
scripts/preflightChecks.sh
scripts/runBenchmark.sh
bench:
cp scripts/config.test.sh scripts/config.sh
scripts/preflightChecks.sh
scripts/runBenchmark.sh
prep:
scripts/prepare.sh
upload:
git add data/*
git commit
git push
clean:
rm -rf ${CLEANUP}
.PHONY: help start clean fonts prep bench build upload