Skip to content

radhikaj/protobuf_prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build and use protobuf with OpenEnclave

Clone the repo

git clone https://github.com/radhikaj/protobuf_prototype

git submodule --init

Build protobuf including libraries for host and enclave

cd protobuf
mkdir build
export CXX=/usr/bin/clang++-7
export CC=/use/bin/clang
cmake -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_BUILD_TESTS=OFF  ../cmake
make

Install protobuf

cmake -DCMAKE_INSTALL_PREFIX=/opt/protobuf ../cmake
sudo make install

Start using the newly installed protobuf

export PKG_CONFIG_PATH=/opt/protobuf/lib/pkgconfig:${PKG_CONFIG_PATH}
export PATH=/opt/protobuf/bin:${PATH}

Build the sample

See sample's README.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published