Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XRT build.sh script fails to find pybind11 #8779

Open
jgmelber opened this issue Feb 20, 2025 · 0 comments
Open

XRT build.sh script fails to find pybind11 #8779

jgmelber opened this issue Feb 20, 2025 · 0 comments

Comments

@jgmelber
Copy link

I had to modify the build.sh script in order to build XRT for the XDNA NPU.

  • I am building on a Ryzen AI Strix mini PC with Ubuntu 22.04.4 installed.
  • I have upgraded the kernel by building Linux 6.14-rc3 from source. From that I am able to see the xdna-driver loaded.
  • I am building XRT @ f02de26.
  • I installed the prerequisites by copying the list of packages from the ub_package_list.
  • I had to add the following line to the build.sh script in order to build XRT for NPU with the following command: ./build.sh -npu -opt.
    • cmake_flags+=" -DCMAKE_PREFIX_PATH=$(pip show pybind11 | grep ^Location: | awk '{print $2}')/pybind11"

Is this expected or a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant