build eunomia-bpf project
If you want to run the cli, in most cases, you don't need to build your own.
You will need
zlib to build the examples, package names may vary across distros.
On Ubuntu/Debian, you need:
On CentOS/Fedora, you need:
install rust toolchain
bpf-loader is our core library written in C++17. It has no other dependencies except libbpf.
The recommended compiler is gcc9 or later.
After compile the bpf-loader, you can build the cli tool in C++:
build wasm lib
Please install WASI SDK, download the wasi-sdk release and extract the archive to default path /opt/wasi-sdk if you want to compile c code to wasm.
install from package manager
On any distros with nix installed:
Run application directly with: