Set up the build environment using the AMD Vitis™ and XRT scripts.
source /opt/xilinx/Vitis/2022.2/settings64.sh source /opt/xilinx/xrt/setup.sh export PLATFORM_REPO_PATHS=/opt/xilinx/platforms
For csh
users, look for the corresponding scripts with the .csh
suffix and adjust the variable setting command accordingly.
Setting PLATFORM_REPO_PATHS to the installation folder of platform files can enable the makefiles in this library to use the PLATFORM variable as a pattern. Otherwise, the full path to the .xpfm file needs to be provided via the PLATFORM variable.