mirror of
https://github.com/circify/circ.git
synced 2026-04-21 03:00:54 -04:00
43 lines
905 B
Makefile
43 lines
905 B
Makefile
all: test
|
|
|
|
build:
|
|
cargo build --release --examples
|
|
cargo build --examples
|
|
|
|
build_deps:
|
|
./scripts/build_aby.zsh
|
|
|
|
build_aby_zokrates: build
|
|
./scripts/build_mpc_zokrates_test.zsh
|
|
|
|
build_aby_c: build
|
|
./scripts/build_mpc_c_test.zsh
|
|
|
|
test: build build_aby_zokrates build_aby_c
|
|
cargo test
|
|
./scripts/zokrates_test.zsh
|
|
python3 ./scripts/aby_tests/zokrates_test_aby.py
|
|
python3 ./scripts/aby_tests/c_test_aby.py
|
|
./scripts/test_zok_to_ilp.zsh
|
|
./scripts/test_zok_to_ilp_pf.zsh
|
|
./scripts/test_datalog.zsh
|
|
|
|
c_aby: build_aby_c
|
|
python3 ./scripts/aby_tests/c_test_aby.py
|
|
|
|
z_aby: build_aby_zokrates
|
|
python3 ./scripts/aby_tests/zokrates_test_aby.py
|
|
|
|
clean:
|
|
# remove all generated files
|
|
rm -rf scripts/aby_tests/tests/*.txt
|
|
rm -rf scripts/aby_tests/__pycache__
|
|
rm -rf ./third_party/ABY/src/examples/*.graph
|
|
rm -rf P V pi perf.data perf.data.old flamegraph.svg
|
|
|
|
format:
|
|
cargo fmt --all
|
|
|
|
lint:
|
|
cargo clippy
|