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

port to dune #58

Merged
merged 1 commit into from
Mar 2, 2020
Merged

port to dune #58

merged 1 commit into from
Mar 2, 2020

Conversation

hannesm
Copy link
Member

@hannesm hannesm commented Feb 17, 2020

with #41 in mind, other mirage-solo5-* libraries have already been ported to dune (mirage-solo5 seems to be the only one which still uses topkg/ocamlbuild). In the light of the reviews of #47 (which is superseeded by this PR), I pushed a commit here that I had lying around for some while. It keeps the names (libmirage-solo5_bindings.a for the C stubs, built with the pkg-config'd ocaml-freestanding CFLAGS (by calling out to cflags.sh which calls pkg-config), the OCaml module is still OS), but ports the build system to dune.

the advantage from a maintenance point of view is that there's no longer any need to remember topkg and dune-release runes. existing mirage-solo5-* packages (esp. mirage-net-solo5) install fine with this PR; also an end-to-end tested unikernels (from mirage-skeleton) work well.

@mato
Copy link
Contributor

mato commented Mar 2, 2020

Thanks. This was exactly the kind of change I had in mind -- ports only the build system without any public API changes. Well done.

@mato mato merged commit a9e86f4 into mirage:master Mar 2, 2020
@mato mato mentioned this pull request Mar 2, 2020
@g2p g2p mentioned this pull request Mar 2, 2020
5 tasks
@hannesm hannesm deleted the dune branch March 2, 2020 14:34
kit-ty-kate pushed a commit to kit-ty-kate/mirage-solo5 that referenced this pull request Oct 6, 2022
add support for OCaml 4.08.0 release
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 this pull request may close these issues.

2 participants