Giter Club home page Giter Club logo

Comments (2)

lathiat avatar lathiat commented on August 12, 2024

build-on(amd64) but run-on(s390x, ppc64el,arm64) I believe is also not be valid for much the same reason.

It works for arch-independent wheels but any wheel with a binary component will fail. Given the dependency graph of bases and their dependencies it may not be possible to reason about whether any given charm includes binary components?

From my current understanding I am told that Launchpad can remote-build charms (similar to snaps) but only using Launchpad recipes and there is not currently an equivalent to "snap remote-build" or the ability to cross compile (though there is some prior art for cross compiling wheels at https://github.com/benfogle/crossenv)

In any case the same fix here will make it so that multiple architectures can be built but the machinary to aquire and build it on those architectures and get the files all together for upload may be additional work. Unclear to me if that needs to be filed as a separate bug somewhere or if any charms are currently affected by this.

from release-tools.

fnordahl avatar fnordahl commented on August 12, 2024

For Classic charms, only Python source code is shipped and any Python dependencies come from installed debs. For Reactive charms the charm tools ensure that only source wheels are distributed and any dependencies requiring building will be built at install time. Both of these mechanisms have their problems and drawbacks.

For Operator Framework machine charms we hopefully can get rid of that madness and rely on launchpad built binaries, but we do indeed need some CI fixes to cope with that too.

from release-tools.

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.