Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build.act.json for storing dependencies #1848

Closed
plajjan opened this issue Aug 15, 2024 · 0 comments · Fixed by #1855
Closed

Add build.act.json for storing dependencies #1848

plajjan opened this issue Aug 15, 2024 · 0 comments · Fixed by #1855

Comments

@plajjan
Copy link
Contributor

plajjan commented Aug 15, 2024

This is as a POC and getting-going kind of thing. Should weave into #1841 etc later.

Anyhow, we need to store dependency information somewhere and I think it would be good if it can easily be read AND written programmatically, thus a simple JSON file!

To begin with, this is not used by build.act, it will be used by the vanilla project build. The first step, to support zig package dependencies, we just need to write the information into build.zig and build.zig.zon

We need to know the URL / hash to fetch. I think it would be good with a name (we can generate one for the zig dependency code but a human understandable is nicer). We also need the names of the artifacts to link with / install headers from. That should be a list of strings per dependency. For example mbedtls exposed three separate libraries.

@plajjan plajjan changed the title Add deps.json for storing dependencies Add build.act.json for storing dependencies Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant