Skip to content
Snippets Groups Projects
Unverified Commit 07943a07 authored by Mayank's avatar Mayank Committed by GitHub
Browse files

Update compile_docker_example.sh

parent 67f74d8c
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ then ...@@ -48,7 +48,7 @@ then
echo "================================================================" echo "================================================================"
echo "Copying generated files to latest ABY examples directory" echo "Copying generated files to latest ABY examples directory"
echo "================================================================" echo "================================================================"
cp docker_bin_example0.cpp ../../../ABY-latest/ABY/src/examples/docker-test/common/millionaire_prob.cpp cp docker_bin_example0.cpp ../../../../ABY-latest/ABY/src/examples/docker-test/common/millionaire_prob.cpp
else else
echo "================================================================" echo "================================================================"
echo "Compiling docker arithmetic ops example to ABY" echo "Compiling docker arithmetic ops example to ABY"
...@@ -58,12 +58,12 @@ else ...@@ -58,12 +58,12 @@ else
echo "================================================================" echo "================================================================"
echo "Copying generated files to latest ABY examples directory" echo "Copying generated files to latest ABY examples directory"
echo "================================================================" echo "================================================================"
cp docker_arith_example0.cpp ../../../ABY-latest/ABY/src/examples/docker-test/common/millionaire_prob.cpp cp docker_arith_example0.cpp ../../../../ABY-latest/ABY/src/examples/docker-test/common/millionaire_prob.cpp
fi fi
# Add all example files to CMakeLists # Add all example files to CMakeLists
cd ../../../ABY-latest/ABY/src/examples/docker-test/ cd ../../../../ABY-latest/ABY/src/examples/docker-test/
> CMakeLists.txt > CMakeLists.txt
echo 'add_executable(docker_binop_example millionaire_prob_test.cpp common/millionaire_prob.cpp common/millionaire_prob.h)' >> CMakeLists.txt echo 'add_executable(docker_binop_example millionaire_prob_test.cpp common/millionaire_prob.cpp common/millionaire_prob.h)' >> CMakeLists.txt
echo 'target_link_libraries(docker_binop_example ABY::aby ENCRYPTO_utils::encrypto_utils)' >> CMakeLists.txt echo 'target_link_libraries(docker_binop_example ABY::aby ENCRYPTO_utils::encrypto_utils)' >> CMakeLists.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment