Last active
April 7, 2019 11:12
-
-
Save adamsteen/6bdae8dc93d8f91f9eb6cf1dbbbbe4b5 to your computer and use it in GitHub Desktop.
OpenBSD Current: MirageOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# required packages | |
doas pkg_add ocaml opam | |
# setup opam and mirage | |
opam init | |
eval $(opam env) | |
# pins to fix for OpenBSD Current (mincore fixes and noretpoline) | |
opam pin solo5-bindings-hvt https://github.com/adamsteen/solo5.git#fix_no_debug_345 | |
opam install mirage -y | |
# mirage-skeleton tutorials | |
git clone https://github.com/mirage/mirage-skeleton.git | |
cd mirage-skeleton/tutorial/noop | |
mirage configure -t hvt | |
gmake depends | |
gmake | |
doas ./solo5-hvt noop.hvt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment