-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (39 loc) · 2.21 KB
/
Makefile
File metadata and controls
49 lines (39 loc) · 2.21 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
# (**************************************************************************)
# (* This file is part of QBRICKS. *)
# (* *)
# (* Copyright (C) 2020-2022 *)
# (* CEA (Commissariat à l'énergie atomique et aux énergies *)
# (* alternatives) *)
# (* Université Paris-Saclay *)
# (* *)
# (* you can redistribute it and/or modify it under the terms of the GNU *)
# (* Lesser General Public License as published by the Free Software *)
# (* Foundation, version 2.1. *)
# (* *)
# (* It is distributed in the hope that it will be useful, *)
# (* but WITHOUT ANY WARRANTY; without even the implied warranty of *)
# (* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)
# (* GNU Lesser General Public License for more details. *)
# (* *)
# (* See the GNU Lesser General Public License version 2.1 *)
# (* for more details (enclosed in the file licenses/LGPLv2.1). *)
# (* *)
# (**************************************************************************)
.PHONY: run_to_openqasm run_to_openqasm_ne
DIRS?= -L ./Case_studies/ -L ./math_libs/ -L ./Qbricks/
build:
docker build -t qbricks .
pull:
docker pull jricc/qbricks:latest
container:
@docker rm -f qbricks 2>/dev/null >/dev/null || true
bash container.sh
start:
xhost +local:docker
docker start -ai qbricks
clean:
cd extracted; rm -f *.bak *.pdf *.byte *.txt exe.* *__*.ml *.qasm run_to_openqasm.ml
run_to_openqasm:
./scripts/run_to_openqasm.sh To_openqasm_examples Test_oq2 extraction
run_to_openqasm_ne:
./scripts/run_to_openqasm.sh To_openqasm_examples Test_oq2 no_extraction