Git Product home page Git Product logo

Comments (7)

Keno avatar Keno commented on September 27, 2024 3

While I think this is a reasonable thing to do, I also think we should very strongly encourage packages to fix their build systems to not require this where possible.

from binarybuilder.jl.

sloede avatar sloede commented on September 27, 2024 1

Is there any progress on this issue? Another advantage I see from being able to run executables is that it would allow to immediately test the build results, e.g., in cases where the build process provides a binary that can be used to ensure the functionality of the built library. Especially for Windows builds I'd see this as greatly beneficial, since (I assume) many developers probably do not have ready access to a Windows machine for easy testing.

from binarybuilder.jl.

staticfloat avatar staticfloat commented on September 27, 2024

The next rootfs will embed wine, wine64 and qemu-user-static. staticfloat/julia-docker#15

  • We can add code in BinaryBuilder.jl to auto-register with binfmt_misc on Linux systems. Is it possible to register binfmt_misc within the usernamespace and thereby not require sudo privileges for our unprivileged containers? Or is that kernel interface not integrated within user namespaces yet?

  • Can we do qemu-within-qemu for when we're running on OSX? Sure, it'll be slow, but hopefully this is only used for when we're running cmake autoprobe executables anyway.

from binarybuilder.jl.

Keno avatar Keno commented on September 27, 2024

We can add code in BinaryBuilder.jl to auto-register with binfmt_misc on Linux systems. Is it possible to register binfmt_misc within the usernamespace and thereby not require sudo privileges for our unprivileged containers? Or is that kernel interface not integrated within user namespaces yet?

Yes, I believe this works

Can we do qemu-within-qemu for when we're running on OSX? Sure, it'll be slow, but hopefully this is only used for when we're running cmake autoprobe executables anyway.

Different kinds of qemu. I think that should nest just fine.

from binarybuilder.jl.

bramtayl avatar bramtayl commented on September 27, 2024

This seems to required for Jack1, Jack2, and a couple of optional dependencies for PulseAudio. Is there any way I could help nudge it along or contribute? What's the first step?

from binarybuilder.jl.

eschnett avatar eschnett commented on September 27, 2024

@staticfloat says above "[...] which should be possible if we ditch Docker." Why is this? As far as I know, Docker supports binfmt_misc and qemu. It's enabled by default on macOS, but needs to be explicitly set up on Linux https://docs.docker.com/desktop/multi-arch/ .

from binarybuilder.jl.

staticfloat avatar staticfloat commented on September 27, 2024

That is now true (I don't think it was 5 years ago in 2017!) and is in fact supported by Sandbox.jl, which is what the next iteration of BinaryBuilder will be built on top of.

from binarybuilder.jl.

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.