LogoopenSUSE Build Service > Projects
Sign Up | Log In

gRPC

No description set

Source Files

Filename Size Changed Actions
grpc-1.4.1-openssl.patch 7.38 KB 10 months ago Download File
grpc-1.4.1-warnings.patch 653 Bytes 10 months ago Download File
grpc.spec 1.94 KB 10 months ago Download File
v1.4.1.tar.gz 4.6 MB 10 months ago

Comments for home:jeffmendoza (1)

Jeff Mendoza jeffmendoza wrote 8 months ago

Sample usage:

Add my dnf repo

wget http://download.opensuse.org/repositories/home:/jeffmendoza/Fedora_26/home:jeffmendoza.repo
sudo cp ./home\:jeffmendoza.repo /etc/yum.repos.d/

Have a C++ dev environment

sudo dnf install gcc-c++ make git pkg-config

Install grpc devel libs to build against, and the protoc plugin to autogen grpc code from protos

sudo dnf install grpc-devel grpc-plugins

Get some sample grpc code (don't actually need core grpc code)

git clone -b v1.4.1 https://github.com/grpc/grpc
cd grpc/examples/cpp/helloworld/

Build sample code

make

Works!

./greeter_server &
Server listening on 0.0.0.0:50051

./greeter_client
Greeter received: Hello world