XRT icon indicating copy to clipboard operation
XRT copied to clipboard

pybind11-dev package is ignored on Ubuntu 22.04

Open ypapadop-amd opened this issue 1 year ago • 0 comments

Ubuntu 22.04.4 LTS has pybind11 2.9.1.

The xrtdeps.sh script ignores that because the major version is less than 23: https://github.com/Xilinx/XRT/blob/e79d21f49965d8761b78717b4fcd972201e8e193/src/runtime_src/tools/scripts/xrtdeps.sh#L649

If someone has pybind11-dev already installed, this can clobber their environment.

Possible solutions:

  1. Check the minor version of Ubuntu as well.
  2. Check if pybind is already installed
  3. Install pybind via pip install --user to ~/.local
  4. Tell the user to explicitly install pybind

ypapadop-amd avatar Apr 25 '24 16:04 ypapadop-amd