- Arm32 [armhf]
- Arm64 [aarch64]
Original Idea
https://github.com/erikest/libgrpc_csharp_ext
###
#Install Tool Chain
###
sudo apt-get install build-essential autoconf libtool pkg-config
sudo apt-get install libgflags-dev libgtest-dev
sudo apt-get install clang libc++-dev
sudo apt-get install cmake
###
#Install Tool Chain
###
sudo pacman -S build-essential autoconf libtool pkg-config base-devel
sudo pacman -S clang cmake go
Replace: --branch v1.27.x with branch you actually need
#!/bin/bash
###
#Get gRPC Source Code
###
git clone https://github.com/grpc/grpc.git --branch v1.27.x
cd grpc
git submodule update --init
###
#Compile libgrpc_csharp_ext target
###
#create location for build files
mkdir -p cmake/build
cd cmake/build
#setup the build files
cmake -DgRPC_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE="${MSBUILD_CONFIG}" ../..
#compile libgrpc_csharp_ext.so
make -j4 grpc_csharp_ext
In this case it will copy generated file to directory where you cloned grpc from github
#Copy the file back to repository root and rename it to what gRPC.Core currently looks for
cp libgrpc_csharp_ext.so ../../../libgrpc_csharp_ext.x64.so
WARNING: GRPC dont support officially arm32, but compiled .so for armhf should work anyway on specific versions of GRPC