Skip to content

Commit d25354e

Browse files
authored
Merge pull request #28964 from hannesm/ocaml-solo5-1-2-0
Release ocaml-solo5 and ocaml-solo5-cross-aarch64 1.2.0
2 parents 8c6d550 + 4245a17 commit d25354e

File tree

2 files changed

+120
-0
lines changed
  • packages
    • ocaml-solo5-cross-aarch64/ocaml-solo5-cross-aarch64.1.2.0
    • ocaml-solo5/ocaml-solo5.1.2.0

2 files changed

+120
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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+
"--sysroot=%{_:lib}%"
13+
"--target=aarch64-solo5-none-static"
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+
]
20+
install: [
21+
[make "install-ocaml"]
22+
]
23+
depopts: [
24+
"ocaml-option-no-flat-float-array"
25+
"ocaml-option-flambda"
26+
]
27+
run-test: [
28+
[make "test"]
29+
]
30+
depends: [
31+
"opatch" {build} # to patch the compiler sources
32+
"ocamlfind" {build}
33+
"ocaml-src" {build}
34+
"ocaml" {= "5.3.0" | = "5.4.0"}
35+
"solo5" {>= "0.9.1"}
36+
"solo5-cross-aarch64" {>= "0.9.1" }
37+
]
38+
conflicts: [
39+
"ocaml-solo5"
40+
"sexplib" {= "v0.9.0"}
41+
"solo5-kernel-ukvm"
42+
"solo5-kernel-virtio"
43+
"solo5-kernel-muen"
44+
]
45+
available: [
46+
((os = "linux" & (arch = "x86_64" | arch = "arm64"))
47+
| (os = "freebsd" & arch = "x86_64")
48+
| (os = "openbsd" & arch = "x86_64"))
49+
]
50+
x-maintenance-intent: [ "(latest)" ]
51+
synopsis: "OCaml cross-compiler to the freestanding 64-bit ARM Solo5 backend"
52+
description:
53+
"This package provides a OCaml cross-compiler for ARM64, suitable for linking with a Solo5 unikernel."
54+
url {
55+
src:
56+
"https://github.com/mirage/ocaml-solo5/archive/refs/tags/v1.2.0.tar.gz"
57+
checksum: [
58+
"md5=4d07934aea2d32b77ba1b8bb062c6594"
59+
"sha512=2ec008da088f7998d024b790679605813f1954de36b999031db0b003706e67f3f13554e93fa07be00f26633ea27c2b2f9f987e8b08f85c63f956bfbc306bd620"
60+
]
61+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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+
]
17+
[make "-j%{jobs}%"]
18+
[make "%{name}%.install"]
19+
]
20+
install: [
21+
[make "install-ocaml"]
22+
]
23+
depopts: [
24+
"ocaml-option-no-flat-float-array"
25+
"ocaml-option-flambda"
26+
]
27+
run-test: [
28+
[make "test"]
29+
]
30+
depends: [
31+
"opatch" {build} # to patch the compiler sources
32+
"ocamlfind" {build}
33+
"ocaml-src" {build}
34+
"ocaml" {= "5.3.0" | = "5.4.0"}
35+
"solo5" {>= "0.9.1"}
36+
]
37+
conflicts: [
38+
"sexplib" {= "v0.9.0"}
39+
"solo5-kernel-ukvm"
40+
"solo5-kernel-virtio"
41+
"solo5-kernel-muen"
42+
]
43+
available: [
44+
((os = "linux" & (arch = "x86_64" | arch = "arm64"))
45+
| (os = "freebsd" & arch = "x86_64")
46+
| (os = "openbsd" & arch = "x86_64"))
47+
]
48+
x-maintenance-intent: [ "(latest)" ]
49+
synopsis: "OCaml cross-compiler to the freestanding Solo5 backend"
50+
description:
51+
"This package provides a OCaml cross-compiler, suitable for linking with a Solo5 unikernel."
52+
url {
53+
src:
54+
"https://github.com/mirage/ocaml-solo5/archive/refs/tags/v1.2.0.tar.gz"
55+
checksum: [
56+
"md5=4d07934aea2d32b77ba1b8bb062c6594"
57+
"sha512=2ec008da088f7998d024b790679605813f1954de36b999031db0b003706e67f3f13554e93fa07be00f26633ea27c2b2f9f987e8b08f85c63f956bfbc306bd620"
58+
]
59+
}

0 commit comments

Comments
 (0)