Skip to content

Commit

Permalink
changes in the makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
brweisz committed Sep 18, 2024
1 parent bf5ed25 commit 238a264
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
all: clone_custom_noir build_noir clone_custom_plonky2 build_plonky2 build_backend precompile_tests

# Cloning and building external resources

build_external:
$(MAKE) clone_custom_noir
$(MAKE) build_noir
$(MAKE) clone_custom_plonky2
$(MAKE) build_plonky2

clone_custom_noir:
git clone https://github.com/brweisz/noir

Expand All @@ -12,12 +20,21 @@ clone_custom_plonky2:
build_plonky2:
rustup override set nightly && cd plonky2 && cargo build --release


# Building plonky2-backend

build_backend:
cd plonky2-backend && cargo build --release


# Tests

precompile_tests:
python prepare_compiled_noir_test_programs.py


# Execution

nargo_execute:
cd noir_example && ../noir/target/release/nargo execute witness --print-acir

Expand Down

0 comments on commit 238a264

Please sign in to comment.