this repo has no description
1opam-version: "2.0"
2maintainer: "Martin Lucina <martin@lucina.net>"
3authors: "Martin Lucina <martin@lucina.net>"
4homepage: "https://github.com/mirage/ocaml-solo5"
5bug-reports: "https://github.com/mirage/ocaml-solo5/issues/"
6license: "MIT"
7tags: "org:mirage"
8dev-repo: "git+https://github.com/mirage/ocaml-solo5.git"
9build: [
10 ["./configure.sh"
11 "--prefix=%{prefix}%"
12 "--target=x86_64-solo5-none-static" { arch = "x86_64" }
13 "--target=aarch64-solo5-none-static" { arch = "arm64" }
14 "--ocaml-configure-option=--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
15 "--ocaml-configure-option=--enable-flambda" {ocaml-option-flambda:installed}
16 ]
17 [make "-j%{jobs}%"]
18 [make "%{name}%.install"]
19]
20depopts: [
21 "ocaml-option-no-flat-float-array"
22 "ocaml-option-flambda"
23]
24run-test: [
25 [make "test"]
26]
27depends: [
28 "conf-git" {build} # to patch the compiler sources
29 "conf-pkg-config" {build} # to detect how to link with zstd
30 "ocamlfind" {build} # needed by dune context (for tests)
31 "ocaml-src" {build}
32 "ocaml" {= "5.2.1"}
33 "solo5" {>= "0.9.0"}
34]
35conflicts: [
36 "sexplib" {= "v0.9.0"}
37 "solo5-kernel-ukvm"
38 "solo5-kernel-virtio"
39 "solo5-kernel-muen"
40]
41available: [
42 ((os = "linux" & (arch = "x86_64" | arch = "arm64"))
43 | (os = "freebsd" & arch = "x86_64")
44 | (os = "openbsd" & arch = "x86_64"))
45]
46synopsis: "OCaml cross-compiler to the freestanding Solo5 backend"
47description:
48 "This package provides a OCaml cross-compiler, suitable for linking with a Solo5 unikernel."
49url {
50 src:
51 "https://github.com/mirage/ocaml-solo5/archive/refs/tags/v1.0.0.tar.gz"
52 checksum: [
53 "md5=18d1719730d851810d139d09978316f4"
54 "sha512=062d7fe30b08bc0894072c0f53a883e16bae01f39934bcaf3ef494dac5c2aa589b2e9ff85d0c4389ac1ee50cf13363d3bfbdb8fd4a7b6d53f275e49f8f69a3e4"
55 ]
56}