-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from samoht/mirage
Mirage
- Loading branch information
Showing
49 changed files
with
899 additions
and
470 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
# OPAM packages needed to build tests. | ||
OPAM_PACKAGES="camlzip dolog core_kernel cryptokit uri \ | ||
cmdliner lazy-trie mstruct re ocamlgraph \ | ||
alcotest lwt conduit uri" | ||
cmdliner sha mstruct re ocamlgraph \ | ||
alcotest lwt \ | ||
conduit uri mirage-fs-unix io-page ipaddr" | ||
|
||
ppa=avsm/ocaml41+opam11 | ||
echo "yes" | sudo add-apt-repository ppa:$ppa | ||
sudo apt-get update -qq | ||
sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam | ||
export OPAMYES=1 | ||
|
||
opam init https://github.com/ocaml/opam-repository.git | ||
opam init git://github.com/ocaml/opam-repository >/dev/null 2>&1 | ||
opam install ${OPAM_PACKAGES} | ||
opam list | ||
|
||
eval `opam config env` | ||
ocaml setup.ml -configure --enable-tests | ||
ls $(ocamlfind query mirage-types) | ||
./configure --enable-tests --enable-mirage | ||
make | ||
make test |
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
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
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
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
Oops, something went wrong.