Required packages might vary from system to system. Below are the packages it was once required to install on a clean DUT CentOS 8 installation
sudo yum install libstdc++-static
It is necessary to have a copy of the Onload source code
git clone git@github.com:Xilinx/onload.git
Execute the following command from the root of the repository:
export ONLOAD_TREE={path to the checked out onload repository}
make
In addition to the dependencies specified in the build section unit tests would require following dependencies in place:
$ sudo yum install perl-Test-Harness
Execute the following commands from the root of the repository:
$ export ONLOAD_TREE={path to the checked out onload repository}
$ export ZF_DEVEL=1
$ make clean test
Note: sudo access will be required to run tests
- If you get the problem 'Failed to allocate huge page for emu, are huge pages available?'
$ sudo sysctl vm.nr_hugepages=4096
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: (c) 2020-2024 Advanced Micro Devices, Inc.
#
# Internal documentation