Skip to content

multibuild vs cibuildwheel #416

Closed
Closed

Description

@peterjc

On a technical level, how does multibuild compare to https://github.com/pypa/cibuildwheel - aside the CI services under the hood (TravisCI and AppVeyor, vs GitHub Actions), is there any meaningful technical difference in the resulting wheels?

Note their README acknowledges building on the work in matthew-brett/multibuild and matthew-brett/delocate and others.

Cross reference #325 on using GitHub Actions with multibuild.

Activity

  1. matthew-brett commented on Jul 9, 2021

    @matthew-brett
    Collaborator

    I'm very sorry to say this - but I haven't looked at all hard at cibuildwheel. It's difficult to imagine their output wheels differ in any practical way. Does someone else here have experience of both, in order to make an informed comment?

  2. mattip commented on Jul 10, 2021

    @mattip
    Collaborator

    Any difference in the wheels is probably a bug in one of the tools. The philosophy of the tools is much the same:

    • use some environment variables in your CI yaml files to control the build
    • on linux, build inside a manylinux docker and use auditwheel repair to tweak the wheel for manylinux
    • on macOS use delocate to tweak the wheel like auditwheel
    • allow testing the wheel. On linux inside a possibly different docker image

    cibuildwheel has the advantage of starting later, so some of the rougher corners of multibuild have been smoothed out. It also has some kind of support for windows, which multibuild leaves to the user since the build/test parts are easier.

    multibuild can support building non-wheel projects like the https://github.com/MacPython/openblas-libs tarballs, and supports downloading/building non-wheel libraries from source. I think it is easier to override parts of the build/test process in multibuild, but that may be because I don't know cibuildwheel as well.

    Edit: please do not take my opinions as fact.

  3. mattip commented on Aug 14, 2022

    @mattip
    Collaborator

    I think this is not really an issue per-se with multibuild, unless the intent was to ask more about github action multibuild integration.

  4. mattip commented on Oct 23, 2024

    @mattip
    Collaborator

    Closing, there is not anything actionable here. Thanks for the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions