Packaging a python wheel based on a C++ library compiled against or-tools #4681
Unanswered
npfp
asked this question in
Build and configuration issues
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm working on a C++ library that I want to expose as a python module to be run on both macOS and ubuntu and am facing some issues to build the ubuntu wheel.
What is working so far
pybind11
, I can generate a.so
importable and runnable in python.scikit-build-core
anddelocate-wheel
locally on my Mac I can generate and repair locally a self-contained wheel so it's importable and runnable in python.What doesn't work
Unfortunately, I can't make
cibuildwheel
repair the build on theubuntu-latest
norubuntu-22.04
CI.When using
cibuildwheel
, I didn't find a way to properly install or-tools on the image with theThe other solution would be to rely on the cmale
Fetch_Content
and the installation of or-tools from source, but then I didn't find a way to make theauditwheell
tool find the built libraries.I suppose I should try something like this: pypa/auditwheel#531 (comment)
Any idea or any pointer to or-tools own cmake/ci would be much-appreciated!
Beta Was this translation helpful? Give feedback.
All reactions