forked from feltroidprime/garaga-zero
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (41 loc) · 1.45 KB
/
Makefile
File metadata and controls
52 lines (41 loc) · 1.45 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
.PHONY: build test run
cairo_files = $(shell find ./tests/cairo_programs -name "*.cairo")
build:
$(MAKE) clean
./tools/make/build.sh
setup:
./tools/make/setup.sh
ci-fustat:
./tools/make/ci_fustat.sh
profile:
@echo "A script to select, run & profile one Cairo file."
@echo "Thank you for trying to improve Garaga's speed!"
./tools/make/launch_cairo_files.py -profile
format:
./tools/make/format_cairo_files.sh
profile-no-compile:
@echo "A script to select, run & profile one Cairo file. File must be already compiled."
@echo "Thank you for trying to improve Garaga's speed!"
./tools/make/launch_cairo_files.py -profile -no_compile
run:
@echo "A script to select, compile & run one Cairo file"
@echo "Total number of steps will be shown at the end of the run."
@echo "Thank you for testing Garaga!"
./tools/make/launch_cairo_files.py
run-no-compile:
@echo "A script to select, run one Cairo file without compiling it"
@echo "Thank you for testing Garaga!"
./tools/make/launch_cairo_files.py -no_compile
run-pie:
@echo "A script to select, compile & run one Cairo file with pie mode enabled"
@echo "Total number of steps will be shown at the end of the run."
@echo "Thank you for proving Garaga!"
./tools/make/launch_cairo_files.py -pie
clean:
rm -rf build/compiled_cairo_files
mkdir -p build
mkdir build/compiled_cairo_files
hints:
./tools/make/gen_hints_document.py
rewrite:
source .venv/bin/activate && python src/precompiled_circuits/all_circuits.py