Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create pypi wheel for opm-python #6

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hakonhagland
Copy link
Collaborator

@hakonhagland hakonhagland commented Jun 16, 2024

This version tries to use the generated pybind11 modules opmcommon_python.so and simulators.so from the host system, but auditwheel (run in the manylinux docker container) will not be able to repair those if they were compiled with a too recent toolchain on the host. The error message I got is:

INFO:auditwheel.main_repair:Repairing opm-2024.4-py3-none-any.whl
usage: __main__.py [-h] [-V] [-v] command ...
__main__.py: error: cannot repair "dist/opm-2024.4-py3-none-any.whl" to "manylinux2014_x86_64" ABI because of the presence of too-recent versioned symbols. You'll need to compile the wheel on an older toolchain.

I think we need to build both pybind11 modules inside the manylinux docker container also. I keep this PR as work in progress until I have tried building the modules inside the manylinux container.

This version tries to use the generated pybind11 modules opmcommon_python.so
and simulators.so from the host system, but auditwheel in the
manylinux docker container will not be able to repair those if they
were compiled with a too recent toolchain on the host.

I think we need to build both pybind11 modules inside the manylinux
docker container also.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant