cmakeModules icon indicating copy to clipboard operation
cmakeModules copied to clipboard

Fixes for building with Ryzen AI Software 1.3.0

Open fifield opened this issue 4 months ago • 1 comments

Two changes here:

  1. 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 of xchesscc is not adequate for finding AIETOOLS_DIR path. So, this PR updates FindAIETools.cmake to search for adf.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.

  2. Make DSP lib optional because it is not present in the Ryzen AI software installation.

fifield avatar Oct 09 '24 16:10 fifield