libgrpc_csharp_ext icon indicating copy to clipboard operation
libgrpc_csharp_ext copied to clipboard

Contains scripts to install the toolchain, clone the repository and then compile libgrpc_csharp_ext. Developed to assist compiling this library for ARM. Tested on a RaspberryPi.

libgrpc_csharp_ext

Overview

These scripts install the necessary tools to compile libgrpc_csharp_ext.

Instructions

  1. mkdir ~/libgrpc_csharp_ext (or whatever root directory you want)
  2. cd ~/libgrpc_csharp_ext
  3. git clone https://github.com/erikest/libgrpc_csharp_ext
  4. chmod +x installToolchain.sh
  5. sudo ./installToolchain.sh
  6. chmod +x gitgRPCsource.sh
  7. Run the following command to clone the grpc repo at v1.36.4 (you may wish to edit this script to get the latest version): ./gitgRPCsource.sh
  8. Add the following to the first line of CMakeLists.txt located in grpc: add_link_options(-latomic)
  9. chmod +x compile_csharp_ext.sh
  10. ./compile_csharp_ext.sh

Notes

The install tool chain script is distilled from the grpc repository (BUILD.md) The compile script is scrapped together from the grpc repository build scripts and those could change.