cmakeModules
cmakeModules copied to clipboard
Fixes for building with Ryzen AI Software 1.3.0
Two changes here:
-
The Ryzen AI Software 1.3.0 installer installs things into a python venv. The binaries are put in the venv binary path (e.g.
venv/bin
) whereas the libraries and headers are installed into the python site-packages directory (e.g.venv/lib/python3.10/site-packages/include
). This means that just using the path ofxchesscc
is not adequate for findingAIETOOLS_DIR
path. So, this PR updates FindAIETools.cmake to search foradf.h
to locate the include path instead of inferring it from the binary path. Then,AIETOOLS_DIR
path is the parent of the include dir. -
Make DSP lib optional because it is not present in the Ryzen AI software installation.