XRT
XRT copied to clipboard
pybind11-dev package is ignored on Ubuntu 22.04
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:
- Check the minor version of Ubuntu as well.
- Check if pybind is already installed
- Install pybind via
pip install --userto~/.local - Tell the user to explicitly install pybind