Giter Site home page Giter Site logo

grpc.core.m1's Introduction

Grpc.Core.M1

Nuget

The purpose of this project is to provide a prebuilt version of the needed native .dylib for  M1 CPUs when using the legacy C# Grpc library.

The future of Grpc and C# is described here.

Building a new lib

This package relies on having to build a native .dylib and put into this folder. Get the tooling installed as described here and then perform the build using cmake as described here. We want to have the shared libraries, so the cmake process should be:

$ mkdir -p cmake/build
$ cd cmake/build
$ cmake ../../ -DBUILD_SHARED_LIBS=ON
$ make

Usage

In addition to your Grpc package reference, just add a reference to this package in your .csproj file:

<ItemGroup>
    <PackageReference Include="Grpc" Version="2.41.0" />
    <PackageReference Include="Contrib.Grpc.Core.M1" Version="2.41.0" />
</ItemGroup>

Note: The version number for this package matches the official Grpc package and I'll be building from source every now and then. But chances are its not critical for NuGet and versioning, as it is the underlying library that is packaged.

If you're leveraging another package that implicitly pulls this in, you might need to explicitly include a package reference to the Grpc package anyways - if your library works with the version this package is built for.

grpc.core.m1's People

Contributors

einari avatar rneuplanche avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.