Set up the build environment using 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 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 makefiles in this library to use the PLATFORM variable as a pattern. Otherwise, the full path to .xpfm file needs to be provided via PLATFORM variable.