Comments (10)
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.
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.
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.
Oh I see, features is dealt with on #2957 👍🏻
from holochain.
This item has been open for 30 days with no activity.
from holochain.
@steveej FYI
from holochain.
Yeah sorry I think I won't have time to attempt this
from holochain.
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.
This item has been open for 30 days with no activity.
from holochain.
This item has been open for 30 days with no activity.
from holochain.
Related Issues (20)
- Release automation can't handle self deps with a version
- Dry run releases are broken due to a missing label HOT 4
- The release automation produces TOML which is not correctly formatted
- A bad return value from a callback crashes the conductor HOT 2
- [Release automation] Fix toml formatting HOT 1
- Release automation dep `crate-util` requires newer Rust version 1.76
- Simplification of the release process HOT 1
- Review of Key Manager Browser Extension HOT 1
- Review of Launcher with Key Management
- (Must have) Run the HoloFuel sweettest test
- Atomic Holonix updates HOT 1
- (Must have) Manual testing, using a happ that we know is reasonably reliable
- (Must have) Leave a conductor running for a longer period of time
- (Nice to have) Automated (or at least semi) testing, maybe with HoloFuel?
- (Medium) Wind Tunnel simple baseline
- [BUG] Unable to open Database file on Windows 10
- Holochain dependency, dependencies updates
- Workflows review 2nd iteration HOT 2
- [Integrity] Write helper to collectively return missing dependencies from must_get calls
- [ENHANCEMENT] Move cached wasms to dedicated folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holochain.