Comments (5)
ok, the normal build instructions should work. It was an annoying bug that disappeared if you turned c++17 or higher on, which I normally do.
from libote.
I'll take a look
from libote.
Hi Peter,
I got the silver tests to work with the following dockerfile:
FROM debian:stable
RUN apt-get update \
&& \
DEBIAN_FRONTEND=noninteractive apt-get install \
-y vim git make g++ cmake libtool python
RUN git clone https://github.com/osu-crypto/libOTe.git
RUN cd libOTe \
&& \
git submodule update --init \
&& \
mkdir -p out/build/linux \
&& \
cmake -S . -B out/build/linux \
-DENABLE_ASAN=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DFETCH_AUTO=ON -DENABLE_RELIC=ON -DENABLE_ALL_OT=ON \
-DENABLE_BOOST=ON -DCOPROTO_ENABLE_BOOST=ON \
-DENABLE_SILENT_VOLE=ON -DENABLE_BITPOLYMUL=ON \
-DNO_SILVER_WARNING=ON
RUN cd libOTe \
&& \
cmake --build out/build/linux
There seems to be an issue in automating the build with the python script. It might be helpful to users if you could add these foolproof instructions as well to your readme.
Thanks
from libote.
Hmm, that was supposed to be the point of the python script. Any idea what setting was wrong?
from libote.
I don't have much experience with C++ so I can't pinpoint it. I did notice that the python script was not doing a good job parsing the CMAKE variables, e.g. when I ran python build.py --all --boost --sodium -DENABLE_SIMPLESTOT_ASM=OFF
the last CLI arg ENABLE_SIMPLESTOT_ASM
was not passed on to the CMAKE build. I confirmed this by running cmake -LAH
in out/build/linux/
, the output of which showed that ENABLE_SIMPLESTOT_ASM
was set to ON
.
from libote.
Related Issues (20)
- throw runtime error when set mDebug=true in exampleVole.h HOT 3
- cmake build error: python3 build.py --all --boost --sodium HOT 1
- A build question HOT 1
- A build problem HOT 3
- SilentOT runtime_error HOT 8
- question about how to get the result by vole HOT 3
- Some questions about Silver HOT 2
- is using a TCR hash with KOS safe? HOT 9
- libOTe does not build HOT 5
- Question about performance
- How to use (IKNP) correlated OT? HOT 20
- Difference between silent VOLE and silent OT. HOT 5
- Building only Errors HOT 1
- Add support for subfield VOLE HOT 10
- SoftSpoken Test question HOT 2
- Question about slient VOLE HOT 12
- optimizations about silent ot HOT 2
- Fork of fork issue? HOT 1
- SoftSpokenOT doesn't work when using non-power-of-two as the fieldBits parameter HOT 2
- frontend examples does not correctly flush sockets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libote.