Skip to content
Snippets Groups Projects
Commit 8bebcd23 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Update cmake command for installing grpc

parent 101e96c7
No related branches found
No related tags found
1 merge request!3Resolve "bring up to date"
Pipeline #17921 failed
......@@ -30,15 +30,11 @@ function main()
if [[ -d $here_dir/third-party/grpc ]]; then
cd $here_dir/third-party/grpc
if [[ ! -x third_party/protobuf/src/protoc ]] && [[ ! -x /usr/local/bin/protoc ]] ; then
if [[ ! -f Makefile ]]; then
cmake -DgRPC_INSTALL=ON -DCMAKE_INSTALL_PREFIX=/usr/local .
fi
mkdir cmake_build
cd cmake_build
cmake -DgRPC_INSTALL=ON -DCMAKE_INSTALL_PREFIX=/usr/local ..
make -j 3
sudo make install
cd $here_dir/third-party/grpc
pwd
sudo make install
fi
cd $here_dir
......
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