Giter Site home page Giter Site logo

Comments (10)

ThetaSinner avatar ThetaSinner commented on June 5, 2024 1

I've made a start on this. We can't export the binaries that are built with Nix directly because they depend on glibc 2.38 where the LTS Ubuntu for example currently uses 2.35. So most people wouldn't be able to run the binaries.

I'm looking instead at producing musl builds. I am able to do this with Cargo now but haven't figured out how to do it with Nix. It also needs a new version of tx5 in Holochain because I had to make some changes to support musl there too.

from holochain.

steveej avatar steveej commented on June 5, 2024 1

@ThetaSinner

I'm looking instead at producing musl builds.

it maybe also be looking at alternatives that might be easier to maintain long-term, e.g. [bundling the shared libraries alongside the binary into a self-contained bundle with nix-bundle, or bundling into AppImages.

haven't figured out how to do it with Nix.

since we're already using crane this could be helpful: https://crane.dev/examples/cross-musl.html

from holochain.

ThetaSinner avatar ThetaSinner commented on June 5, 2024

Another point that came up in this discussion was which features the release binaries should have turned on. We should look at turning on sqlite_encrypted and probably also do a check over other features to make sure a sensible set is turned on in the binaries we publish.

The quick and dirty way to do this would be to do a nix develop --override-input holochain . --override-input versions ./versions/weekly .#holonix -c <my script> and provide a script to attach the binaries to the release. I suspect a better way to deal with this would be to add a new derivation which outputs the binaries we want to release and use nix build to build them into a local directory to be uploaded. There's less risk of the PATH causing unexpected issues that way.

from holochain.

ThetaSinner avatar ThetaSinner commented on June 5, 2024

Oh I see, features is dealt with on #2957 👍🏻

from holochain.

github-actions avatar github-actions commented on June 5, 2024

This item has been open for 30 days with no activity.

from holochain.

ThetaSinner avatar ThetaSinner commented on June 5, 2024

@steveej FYI

from holochain.

mattyg avatar mattyg commented on June 5, 2024

Yeah sorry I think I won't have time to attempt this

from holochain.

ThetaSinner avatar ThetaSinner commented on June 5, 2024

No worries, I think there are a few non-obvious pieces of complexity to this one. I would love a week to just work on CI improvements like changelogs, pulling information from other repos like lair on release, dumping out a the current set of libraries so people can see what to use together, and this. I might be able to find some time before the end of the year but it might be a new year thing this now unfortunately.

from holochain.

github-actions avatar github-actions commented on June 5, 2024

This item has been open for 30 days with no activity.

from holochain.

github-actions avatar github-actions commented on June 5, 2024

This item has been open for 30 days with no activity.

from holochain.

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.