-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (38 loc) · 1.12 KB
/
Makefile
File metadata and controls
45 lines (38 loc) · 1.12 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
all:
@echo "Help:"
@echo " make init # install the dependencies"
@echo " make eval # run the full evaluation"
@echo " make scaled # run a lighter version of the evaluation"
@echo " make docker-build # build a docker image"
@echo " make docker-run # run the docker image"
@echo " make clean # remove the generated files excpet the logs"
@echo " make cleanall # remove all the generated files"
init:
git submodule init && git submodule update
pip install ./posteriordb/python
opam pin -y -k git git+https://github.com/deepppl/stanc3.git
pip install -r requirements.txt
eval:
$(MAKE) -C rq1 eval
$(MAKE) -C rq2-3 eval
$(MAKE) -C rq4 eval
$(MAKE) -C rq5 eval
scaled:
$(MAKE) -C rq1 scaled
$(MAKE) -C rq2-3 scaled
$(MAKE) -C rq4 scaled
$(MAKE) -C rq5 scaled
docker-build:
docker build -t deepstan -f deepstan.docker .
docker-run:
docker run -ti --rm deepstan bash
clean:
$(MAKE) -C rq1 clean
$(MAKE) -C rq2-3 clean
$(MAKE) -C rq4 clean
$(MAKE) -C rq5 clean
cleanall: clean
$(MAKE) -C rq1 cleanall
$(MAKE) -C rq2-3 cleanall
$(MAKE) -C rq4 cleanall
$(MAKE) -C rq5 cleanall