Replies: 6 comments 8 replies
-
Did you try to use |
Beta Was this translation helpful? Give feedback.
-
I did, but it didn't have any effect. I also tried something called |
Beta Was this translation helpful? Give feedback.
-
I can't find any evidence that |
Beta Was this translation helpful? Give feedback.
-
I appreciate that it's difficult to help if you can't see the repository, so I've made it public. It's a bit of a mess, but I'm just trying to learn how to make this work. I have every intention of throwing it all away and starting over once I know how to make it work. Making the CI build start from sources and build the whole thing is probably never going to be practical, and I don't see why that should be necessary except in as much as I run the risk of getting the wrong The repo is https://github.com/Saxonica/BuildWheels |
Beta Was this translation helpful? Give feedback.
-
Still no progress. I think the next thing I'm going to have to try is building my own hacked version of |
Beta Was this translation helpful? Give feedback.
-
Right. I failed to grok that the cwd when cibuildwheels runs was being mounted at /project in the container. I assumed, for no obvious reason, that the root of my repository would be mounted. With that misunderstanding sorted out, I can build and repair wheels in a GitHub action. Thank you for your help and your patience. There are other problems, but I'm pretty sure they're on the C++ side of the fence, not the cibuildwheels side! |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use
cibuildwheel
to construct wheels for a package that includes a third party .so file. (In fact, the .so file is our own, but it would be complicated to configure the CI system to do the complete build, so I'm building in local docker containers derived from the same multi-linux distribution thatcibuildwheel
is using.)So I put the library files in
libs/nix
and insetup.py
, I add:(I haven't actually tried testing the MacOS one yet and I haven't a clue what I'm going to do about Windows. One step at a time.)
With this configuration, the wheel is successfully built. The linker gets
-Llibs/nix
and finds the library.Then
auditwheel
runs and claims it can't find the.so
file. I've banged my head against a bunch of rocks without success. Actually, that's not strictly true. Passingmakes some of the builds work, but that's seem like such an awful hack I'm almost ashamed.
Am I overlooking something?
Beta Was this translation helpful? Give feedback.
All reactions