Created
June 15, 2020 20:11
-
-
Save weidonglian/052a0d22eae470907bd06b00bc1998ca to your computer and use it in GitHub Desktop.
grpc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sudo apt-get update | |
#sudo apt-get install -y build-essential autoconf libtool git pkg-config curl automake libtool curl make g++ unzip | |
#sudo apt-get clean | |
GRPC_RELEASE_TAG=v1.11.x | |
GRPC_DIR=$(pwd) | |
cd ${GRPC_DIR} | |
#git clone -b ${GRPC_RELEASE_TAG} https://github.com/grpc/grpc ${GRPC_DIR} && \ | |
cd ${GRPC_DIR} && \ | |
# git submodule update --init && \ | |
echo "--- installing protobuf ---" && \ | |
cd third_party/protobuf && \ | |
./autogen.sh && ./configure --enable-shared && \ | |
make -j$(nproc) && make -j$(nproc) check && sudo make install && sudo ldconfig && \ | |
echo "--- installing grpc ---" && \ | |
cd ${GRPC_DIR} && \ | |
make -j$(nproc) && sudo make install && sudo ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment