Skip to content

Commit 36ec6fc

Browse files
committed
new release: ocaml-solo5 0.8.2
* malloc: fix the memory allocation tracking to be precise (fixes mirage/ocaml-solo5#126 reported by @hannesm, mirage/ocaml-solo5#127 @palainp)
1 parent b3a493e commit 36ec6fc

File tree

2 files changed

+99
-0
lines changed
  • packages
    • ocaml-solo5-cross-aarch64/ocaml-solo5-cross-aarch64.0.8.2
    • ocaml-solo5/ocaml-solo5.0.8.2

2 files changed

+99
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
maintainer: "Martin Lucina <[email protected]>"
3+
authors: "Martin Lucina <[email protected]>"
4+
homepage: "https://github.com/mirage/ocaml-solo5"
5+
bug-reports: "https://github.com/mirage/ocaml-solo5/issues/"
6+
license: "MIT"
7+
tags: "org:mirage"
8+
dev-repo: "git+https://github.com/mirage/ocaml-solo5.git"
9+
build: [
10+
["./configure.sh"
11+
"--prefix=%{prefix}%"
12+
"--target=aarch64-solo5-none-static"
13+
"--ocaml-configure-option=--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
14+
"--ocaml-configure-option=--enable-flambda" {ocaml-option-flambda:installed}
15+
"--ocaml-configure-option=--disable-naked-pointers" {ocaml-option-nnp:installed}
16+
]
17+
[make "-j%{jobs}%"]
18+
]
19+
install: [make "install" ]
20+
depends: [
21+
"conf-which" {build}
22+
"ocamlfind" {build} # needed by dune context (for tests)
23+
"ocaml-src" {build}
24+
"ocaml" {>= "4.12.1" & < "4.15.0"}
25+
"solo5" {>= "0.7.0"}
26+
"solo5-cross-aarch64" {>= "0.7.0" }
27+
]
28+
conflicts: [
29+
"ocaml-solo5"
30+
"sexplib" {= "v0.9.0"}
31+
"solo5-kernel-ukvm"
32+
"solo5-kernel-virtio"
33+
"solo5-kernel-muen"
34+
]
35+
available: [
36+
((os = "linux" & (arch = "x86_64" | arch = "arm64"))
37+
| (os = "freebsd" & arch = "x86_64")
38+
| (os = "openbsd" & arch = "x86_64"))
39+
]
40+
synopsis: "Freestanding OCaml compiler"
41+
description:
42+
"This package provides a OCaml cross-compiler for ARM64, suitable for linking with a Solo5 unikernel."
43+
url {
44+
src:
45+
"https://github.com/mirage/ocaml-solo5/archive/refs/tags/v0.8.2.tar.gz"
46+
checksum: [
47+
"sha256=d143f65fee5d95d056b79e05729a5e4029b07586e96827a449b21584fa2ff12d"
48+
"sha512=f38e1f5616938460deb5f36272991f8b3060b04b77d9674051abcc508f0233cf85053e2d19fd3b257638c9e108b65840b97a2dd75cdfac666fd2ea4183d1c62d"
49+
]
50+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
opam-version: "2.0"
2+
maintainer: "Martin Lucina <[email protected]>"
3+
authors: "Martin Lucina <[email protected]>"
4+
homepage: "https://github.com/mirage/ocaml-solo5"
5+
bug-reports: "https://github.com/mirage/ocaml-solo5/issues/"
6+
license: "MIT"
7+
tags: "org:mirage"
8+
dev-repo: "git+https://github.com/mirage/ocaml-solo5.git"
9+
build: [
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+
"--ocaml-configure-option=--disable-naked-pointers" {ocaml-option-nnp:installed}
17+
]
18+
[make "-j%{jobs}%"]
19+
]
20+
install: [make "install" ]
21+
depends: [
22+
"conf-which" {build}
23+
"ocamlfind" {build} # needed by dune context (for tests)
24+
"ocaml-src" {build}
25+
"ocaml" {>= "4.12.1" & < "4.15.0"}
26+
"solo5" {>= "0.7.0"}
27+
]
28+
conflicts: [
29+
"sexplib" {= "v0.9.0"}
30+
"solo5-kernel-ukvm"
31+
"solo5-kernel-virtio"
32+
"solo5-kernel-muen"
33+
]
34+
available: [
35+
((os = "linux" & (arch = "x86_64" | arch = "arm64"))
36+
| (os = "freebsd" & arch = "x86_64")
37+
| (os = "openbsd" & arch = "x86_64"))
38+
]
39+
synopsis: "Freestanding OCaml compiler"
40+
description:
41+
"This package provides a OCaml cross-compiler, suitable for linking with a Solo5 unikernel."
42+
url {
43+
src:
44+
"https://github.com/mirage/ocaml-solo5/archive/refs/tags/v0.8.2.tar.gz"
45+
checksum: [
46+
"sha256=d143f65fee5d95d056b79e05729a5e4029b07586e96827a449b21584fa2ff12d"
47+
"sha512=f38e1f5616938460deb5f36272991f8b3060b04b77d9674051abcc508f0233cf85053e2d19fd3b257638c9e108b65840b97a2dd75cdfac666fd2ea4183d1c62d"
48+
]
49+
}

0 commit comments

Comments
 (0)