-
Hi, I use skbuild-conan to build my package, and it works fine without cibuildwork (Debian, Ubuntu 22.04 and a clean Ubuntu 24.04 docker, as well as Ubuntu 24.04 github runner). With cibuildworks it fails to build libcap/2.64 which is an indirect dependency, which I cannot immediately change. The only direct dependencies are symengine and opencv. Initially, I get an error message that O2 is not found, which I can get around by setting BUILD_CC=gcc in the environment, but this only changes it to a similar complaint about m64,
Does anyone have any ideas what could be wrong or how to fix it? All my own ideas have me stuck,
TIA |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
I see that it might be possible to build only for more recent standard, such as manylinux_2_31 or _39, but whatever I try, cibuildwheel tries to build on 2_28. If anyone has a working example of a toml file restricting the manylinux builds in such a way, that would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
yes, the exact version of the image used by cibuildwheel is printed in the preamble
In any case, you'll be rebuilding from sources so you might not want to rely on CCI default options for those dependencies. You should probably start by disabling everything you don't need from the OpenCV build, that might lower the number of indirect dependencies needed to build (e.g. do you need videoio / highgui / imgcodecs / ... modules & if not, disable them) and build that in the before-all step of cibuildwheel.
Some experiments: