Git Product home page Git Product logo

Comments (4)

konstin avatar konstin commented on May 25, 2024

What is the usecase / advantage of having linux_x86_64 instead of manylinux1 builds?

from maturin.

ijl avatar ijl commented on May 25, 2024

If I build on an up to date Linux machine, apparently it breaks manylinux1 by linking a more recent glibc. It's also not unusual to vendor wheels for a project, where you may want to commit extensions compiled against your specific distro. It seems simpler and consistent with wheel's manylinux1 being a subset of platform-specific wheels to just let platform-specific wheels be built on Linux.

from maturin.

ijl avatar ijl commented on May 25, 2024

I forget the details, but I also had an issue building orjson on an Alpine (musl libc) container where it failed manylinux compliance. I see pyo3-pack distributes linked against musl, but also builds a binary? Not sure what that issue is. It would have helped to just build a cp37 wheel and been done, though.

from maturin.

konstin avatar konstin commented on May 25, 2024

Those sound like good reasons to support the non-manylinux tag. For the implementation I currently favour a --manylinux=[on|skip-auditwheel|off] option that deprecates the current --skip-auditwheel.

You can't build cpython libraries on alpine, because python itself uses glibc and so all extension modules need to use it, too. For pyo3-pack and other binaries this restriction does not apply because they don't need to be loaded by cpython.

from maturin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.