Replies: 1 comment 1 reply
-
Quick thought: have you tried the windows wheel repair tool - delvewheel? The example for using it is in the docs. https://cibuildwheel.pypa.io/en/stable/options/#repair-wheel-command |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I try to build wheels for Windows with cibuildwheel for a project containing C++ extensions (https://github.com/fluiddyn/fluidimage/). The C++ files are produced with Pythran (a Python compiler also used by Scipy) and this project uses Meson (also like Scipy). The build passes (see for example https://github.com/fluiddyn/fluidimage/actions/runs/8455184364/job/23162048001) and wheels are uploaded on PyPI. However, the extensions cannot be imported because the .pyd files depend on libgcc_s_seh-1.dll and libstdc++-6.dll.
I don't understand why there are these dependencies on Windows. It seems to indicate that GCC is used (through Mingw?).
I know that to build this project on Windows, we need to use clang-cl but I didn't find in the doc how to do that with cibuildwheel.
CI config: https://github.com/fluiddyn/fluidimage/blob/branch/default/.github/workflows/wheels.yml
Beta Was this translation helpful? Give feedback.
All reactions