mirror of
https://github.com/circify/circ.git
synced 2026-01-15 00:27:56 -05:00
* OPA-by-ILP benchmark example * Reverted unverified push to master branch * Added conversion gates and integrated ABY lowering with SharingMap Co-authored-by: Alex Ozdemir <aozdemir@hmc.edu>
20 lines
677 B
Makefile
20 lines
677 B
Makefile
all: build test
|
|
|
|
build: init
|
|
cargo build --release --example circ && ./scripts/build_mpc_zokrates_test.zsh && ./scripts/build_aby.zsh
|
|
|
|
test:
|
|
cargo test && ./scripts/zokrates_test.zsh && python3 ./scripts/test_aby.py && ./scripts/test_zok_to_ilp.zsh
|
|
|
|
init:
|
|
git submodule update --init
|
|
|
|
aby:
|
|
./scripts/build_mpc_zokrates_test.zsh && ./scripts/build_aby.zsh && python3 ./scripts/test_aby.py
|
|
|
|
clean:
|
|
# remove all generated files
|
|
touch ./third_party/ABY/build && rm -r -- ./third_party/ABY/build
|
|
touch ./third_party/ABY/src/examples/2pc_* && rm -r -- ./third_party/ABY/src/examples/2pc_*
|
|
sed '/add_subdirectory.*2pc.*/d' -i ./third_party/ABY/src/examples/CMakeLists.txt
|