Git Product home page Git Product logo

Comments (2)

staticfloat avatar staticfloat commented on June 29, 2024 1

A very interesting proposition. The way I have BinDeps2 structured right now, binaries for different platforms have their target platform encoded in the filename (e.g. libfoo.x86_64-linux-gnu.tar.gz). Binaries are installed to a Prefix, and I would argue that there's no point in mixing binaries of different architectures together into the same prefix, so for a usecase like this, I would suggest the best practice would be to create Prefix for every architecture you're interested in, and install the binaries you want into the relevant prefix. Because cross-compiling is something that's impossible now, and likely to be rare at best, I think keeping the basic installation elements flexible (as they are now) combined with a bit of custom tooling around BinDeps2 is the appropriate level of support for this.

from binarybuilder.jl.

staticfloat avatar staticfloat commented on June 29, 2024

This is possible now; by using the mid-level Artifacts plumbing, you can do things like pass ensure_artifact_installed() an explicit platform object to get the appropriate artifacts put on-disk. Forcing a JLL package to think it is a different package will be considerably harder, but that is of questionable utility.

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.