Skip to content

TheGarkine/meta-heipc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hyper Easy Inter-Process Communication

meta-heipc (pronounced "hype C") is a personal passion project born of the idea to make usage of grpc in your yocto distro super easy.

Usage

The setup is very easy, you just need to inherit the heipc class and set HEIPC_PROTO_LOCATION.

inherit heipc
HEIPC_PROTO_LOCATION = "${S}/src/greeter.proto"

There is also an example heipc server implementation /recipes-examples/heipc-cpp-server/

Packages

With heipc, your recipe will build a lot of extra packages you can use:

  • ${PN}-lib-python: A python client library installed into your site-packages. The resulting package name for python imports is <PN>_grpc_client, where all - are replaced with _.
  • ${PN}-lib-cpp: Currently only C++17 and higher is supported.
  • nativesdk-${PN}-lib-python: Generates the nativesdk used for TOOLCHAIN_HOST_TASKS to add the python library to the sdk. Keep in mind that this will also add the prefix nativesdk_ to the python library, so it could mean that this needs handling if trying to develop clients locally.

Variables

HEIPC_PROTO_LOCATION

The location where after the fetch the proto file will be stored at.

Note that heipc will use its own directories, therefore this should be an absolute path (e.g. ${S}/src/service.proto).

About

Yocto layer for hyper easy IPC setups with GRPC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors