Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EzPC-Custom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rasoul Akhavan Mahdavi
EzPC-Custom
Commits
07943a07
Unverified
Commit
07943a07
authored
5 years ago
by
Mayank
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update compile_docker_example.sh
parent
67f74d8c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
EzPC/Docker/compile_docker_example.sh
+3
-3
3 additions, 3 deletions
EzPC/Docker/compile_docker_example.sh
with
3 additions
and
3 deletions
EzPC/Docker/compile_docker_example.sh
+
3
−
3
View file @
07943a07
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment