Skip to content

Commit 5eae9c8

Browse files
authored
Upadate the README with instructions for installing gRPC (p4lang#614)
* Upadate the README with instructions for installing gRPC Signed-off-by: DScano <[email protected]> * Decouple the build and install steps Signed-off-by: DScano <[email protected]> --------- Signed-off-by: DScano <[email protected]>
1 parent 05cb925 commit 5eae9c8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,17 @@ make
7676
git clone --depth=1 -b v1.43.2 https://github.com/google/grpc.git
7777
cd grpc/
7878
git submodule update --init --recursive
79+
mkdir -p "cmake/build"
80+
pushd "cmake/build"
81+
cmake \
82+
-DCMAKE_BUILD_TYPE=Release \
83+
-DgRPC_INSTALL=ON \
84+
-DgRPC_BUILD_TESTS=OFF \
85+
-DgRPC_SSL_PROVIDER=package \
86+
../..
7987
make
8088
[sudo] make install
81-
[sudo] ldconfig
89+
popd
8290
```
8391
- [sysrepo](https://github.com/sysrepo/sysrepo) and all its dependencies: see
8492
instructions in [proto/README.md](proto/README.md)

0 commit comments

Comments
 (0)