Question: Universal2 wheel with binary extension #1904
Replies: 8 comments
-
Did you have an artifact with static version of the library? It will be nice to understand why Current log suggests that |
Beta Was this translation helpful? Give feedback.
-
For static build, the stack trace is my only hint, but trying to search for the specific problem yielding nothing actionable.
|
Beta Was this translation helpful? Give feedback.
-
This information is not enough. The best thing will be to start build with static library, but with disabled repair command, and then there will be an option to download artifact and check what happen. |
Beta Was this translation helpful? Give feedback.
-
Sure, here's a version I produced with static linking and repairing is replaced by |
Beta Was this translation helpful? Give feedback.
-
Thanks. First try to do not show the source of the problem. I will need to investigate more time. In the context of the current problem, maybe @henryiii will have an idea what may be wrong with cmake configuration. |
Beta Was this translation helpful? Give feedback.
-
Interestingly enough running the steps by hand locally, outside of |
Beta Was this translation helpful? Give feedback.
-
You may specify |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip, but I saw it a bit late and went the other route by testing using just [tool.cibuildwheel.macos]
#archs = ["universal2"]
archs = ["arm64"]
environment = { MACOSX_DEPLOYMENT_TARGET = "12.0.1" }
# repair-wheel-command = "cp {wheel} {dest_dir}" Update: setting architectures to For me, this is a workable solution. If you want to close this issue, it's fine for me, but I'll also |
Beta Was this translation helpful? Give feedback.
-
Description
Hi,
after failing multiple times and finding no advice wrt towards fixing this on my own, I wonder whether someone here could
help. We are packaging a native extension via
scikit-build
wrapped viapybind11
into wheels usingcibuildwheel
.Since a few weeks ago, our GHA CI job to produce wheels started failing on MacOS. The problem occurs during the
repair
/delocate
phase, see build log.Since the original error indicated a problem with a static library, see here
https://github.com/arbor-sim/arbor/actions/runs/9345982063/job/25720046459
I forced
CIBuildWheel
/CMake
to produce a shared library, which results in the current state of affairs.Any hints towards fixing this? Thanks in advance.
Build log
https://github.com/arbor-sim/arbor/actions/runs/9346194861/job/25720548893?pr=2274
CI config
https://github.com/arbor-sim/arbor/pull/2274/files#diff-91dc372617f128032762d652aa093c427eb3b25dcbfd86998db90e3914ec7e79
Beta Was this translation helpful? Give feedback.
All reactions