mirror of
https://github.com/privacy-scaling-explorations/emp-wasm.git
synced 2026-05-03 03:00:31 -04:00
20 lines
430 B
Bash
Executable File
20 lines
430 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Note: -D__debug does not seem to impact performance, and is good for testing
|
|
clang++ \
|
|
-O3 \
|
|
-std=c++17 \
|
|
-D__debug \
|
|
programs/test_mpc.cpp \
|
|
-I src/cpp \
|
|
-I $(brew --prefix mbedtls)/include \
|
|
-L $(brew --prefix mbedtls)/lib \
|
|
-lmbedtls \
|
|
-lmbedcrypto \
|
|
-lmbedx509 \
|
|
-o build/mpc
|
|
|
|
echo "Build successful, use ./scripts/mpc_test.sh to run the program."
|