Skip to content

Instantly share code, notes, and snippets.

View liusheng's full-sized avatar

Liu sheng liusheng

  • China Xi'an
View GitHub Profile
@liusheng
liusheng / build_protoc-gen-grpc-java_aarch64.sh
Last active November 18, 2019 06:48
Build protoc-gen-grpc-java_aarch64
#!/bin/bash
set -ex
sudo apt-get install -y openjdk-11-jdk autoconf automake libtool unzip
cdir=$(cd $(dirname -- "$0") && pwd)
git clone https://github.com/google/protobuf.git
pushd protobuf
git checkout v3.5.1.1
./autogen.sh && ./configure --prefix=${cdir}/protobuf-3.5.1/ && make clean install