mirror of
https://github.com/privacy-scaling-explorations/emp-wasm.git
synced 2026-01-14 12:27:54 -05:00
20 lines
416 B
Bash
Executable File
20 lines
416 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Note: -D__debug is noticeably slower, but is good for testing
|
|
clang++ \
|
|
-O3 \
|
|
-D__debug \
|
|
-std=c++17 \
|
|
programs/test_2pc.cpp \
|
|
-I src/cpp/ \
|
|
-I $(brew --prefix mbedtls)/include \
|
|
-L $(brew --prefix mbedtls)/lib \
|
|
-lmbedtls \
|
|
-lmbedcrypto \
|
|
-lmbedx509 \
|
|
-o build/2pc
|
|
|
|
echo "Build successful, use ./scripts/2pc_test.sh to run the program."
|