zivid / zivid-python

Official Python package for Zivid 3D cameras
BSD 3-Clause "New" or "Revised" License
40 stars 14 forks source link

CI: install 2024 versions of Intel OCL libraries #246

Closed johningve closed 9 months ago

johningve commented 9 months ago

The intel oneAPI repository was recently updated, which broke our install scripts:

The following packages have unmet dependencies:
intel-oneapi-runtime-compilers : Depends: intel-oneapi-runtime-openmp (= 2023.2.2-47) but 2024.0.0-49819 is to be installed

Looking at Intel's installation guide: https://www.intel.com/content/www/us/en/docs/oneapi/installation-guide-linux/2024-0/apt.html Intel recommends installing a metapackage intel-oneapi-runtime-libs. This package now depends on intel-oneapi-runtime-opencl-2024 and intel-oneapi-runtime-compilers-2024, so it seems like we should use these packages now.

Additionally, one of the packages is not declaring a dependency on libxml2, but does not work without it, so we have to install that manually as well.

MISC

apartridge commented 9 months ago

Maybe we should be installing all of intel-oneapi-runtime-libs? Would that work here? That it what we do in SDK it looks like.

johningve commented 9 months ago

Maybe we should be installing all of intel-oneapi-runtime-libs? Would that work here? That it what we do in SDK it looks like.

Tried it and it still does not install libxml2

apartridge commented 9 months ago

Maybe we should be installing all of intel-oneapi-runtime-libs? Would that work here? That it what we do in SDK it looks like.

Tried it and it still does not install libxml2

Ok, we can install libxml2 manually but it maybe better to install the generic oneapi runtime rather than the 2024 version specifically. Though, we also like to pin dependencies..