How to install, build and use XDP related packages

From epsciwiki
Revision as of 22:04, 19 October 2023 by Timmer (talk | contribs)
Jump to navigation Jump to search

There are multiple software packages that need to be downloaded, compiled, and installed for XPD-related code to run

Installing libbpf

First: install the libelf library
sudo apt-get install -y libelf-dev
Second: get and install the libbpf related files
git clone https:///github.com/libbpf/libbpf.git
cd libbpf
cd src
make

export GRPC_INSTALL_DIR=/daqfs/gRPC/installation
make install


Clone the repository
git clone --recurse-submodules -b v1.50 --depth 1 --shallow-submodules https://github.com/grpc/grpc
Build the package