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

Use dune to build unikernels #979

Closed
wants to merge 14 commits into from
Closed

Use dune to build unikernels #979

wants to merge 14 commits into from

Conversation

TheLortex
Copy link
Member

I'm creating this PR in order to track the modifications of the mirage CLI I've made for #969.

mirage config -t <target> creates a dune file with all the rules needed to build the end user unikernel. This allows mirage build to be very simple (equal to dune build @target) and take full advantage of dune incremental builds.

Using variants, less packages will need (unix-freestanding-xen) specialization but this requires an update of packages that have C stubs.

One good indicator of this working fine is the mirage/mirage-dev#dune CI on mirage-skeleton. It doesn't pass yet but it should improve as we dufiny packages.

@Drup
Copy link
Member

Drup commented Apr 8, 2019

Looks promising!

I'm still hoping that someone will figure out the build as part of functoria, with a clean separates between the "generic" part and the "mirage" part. It's not necessary at all, but since you are actively working on the topic, the idea can sit in the corner of your mind. ;)

@hannesm hannesm mentioned this pull request Aug 2, 2019
37 tasks
@dinosaure
Copy link
Member

Works of @TheLortex was integrated in an other way (and according current status of master) in this PR: #1020

@dinosaure dinosaure closed this Dec 4, 2019
@dinosaure dinosaure mentioned this pull request Dec 16, 2019
4 tasks
@TheLortex TheLortex deleted the dune branch January 13, 2021 09:38
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.

None yet

3 participants