-
Notifications
You must be signed in to change notification settings - Fork 30
/
ocaml-solo5.opam
41 lines (41 loc) · 1.38 KB
/
ocaml-solo5.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
opam-version: "2.0"
maintainer: "Martin Lucina <[email protected]>"
authors: "Martin Lucina <[email protected]>"
homepage: "https://github.com/mirage/ocaml-solo5"
bug-reports: "https://github.com/mirage/ocaml-solo5/issues/"
license: "MIT"
tags: "org:mirage"
dev-repo: "git+https://github.com/mirage/ocaml-solo5.git"
build: [
["./configure.sh"
"--prefix=%{prefix}%"
"--target=x86_64-solo5-none-static" { arch = "x86_64" }
"--target=aarch64-solo5-none-static" { arch = "arm64" }
"--ocaml-configure-option=--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
"--ocaml-configure-option=--enable-flambda" {ocaml-option-flambda:installed}
"--ocaml-configure-option=--disable-naked-pointers" {ocaml-option-nnp:installed}
]
[make "-j%{jobs}%"]
]
install: [make "install" ]
depends: [
"conf-which" {build}
"ocamlfind" {build} # needed by dune context (for tests)
"ocaml-src" {build}
"ocaml" {>= "4.12.1" & < "4.15.0"}
"solo5" {>= "0.7.0"}
]
conflicts: [
"sexplib" {= "v0.9.0"}
"solo5-kernel-ukvm"
"solo5-kernel-virtio"
"solo5-kernel-muen"
]
available: [
((os = "linux" & (arch = "x86_64" | arch = "arm64"))
| (os = "freebsd" & arch = "x86_64")
| (os = "openbsd" & arch = "x86_64"))
]
synopsis: "OCaml cross-compiler to the freestanding Solo5 backend"
description:
"This package provides a OCaml cross-compiler, suitable for linking with a Solo5 unikernel."