File tree Expand file tree Collapse file tree 2 files changed +122
-0
lines changed
ocaml-solo5-cross-aarch64/ocaml-solo5-cross-aarch64.1.1.0
ocaml-solo5/ocaml-solo5.1.1.0 Expand file tree Collapse file tree 2 files changed +122
-0
lines changed Original file line number Diff line number Diff line change
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
+ "conf-git" {build} # to patch the compiler sources
32
+ "conf-pkg-config" {build} # to detect how to link with zstd
33
+ "ocamlfind" {build} # needed by dune context (for tests)
34
+ "ocaml-src" {build}
35
+ "ocaml" {= "5.3.0"}
36
+ "solo5" {>= "0.9.1"}
37
+ "solo5-cross-aarch64" {>= "0.9.1" }
38
+ ]
39
+ conflicts: [
40
+ "ocaml-solo5"
41
+ "sexplib" {= "v0.9.0"}
42
+ "solo5-kernel-ukvm"
43
+ "solo5-kernel-virtio"
44
+ "solo5-kernel-muen"
45
+ ]
46
+ available: [
47
+ ((os = "linux" & (arch = "x86_64" | arch = "arm64"))
48
+ | (os = "freebsd" & arch = "x86_64")
49
+ | (os = "openbsd" & arch = "x86_64"))
50
+ ]
51
+ x-maintenance-intent: [ "(latest)" ]
52
+ synopsis: "OCaml cross-compiler to the freestanding 64-bit ARM Solo5 backend"
53
+ description:
54
+ "This package provides a OCaml cross-compiler for ARM64, suitable for linking with a Solo5 unikernel."
55
+ url {
56
+ src:
57
+ "https://github.com/mirage/ocaml-solo5/archive/refs/tags/v1.1.0.tar.gz"
58
+ checksum: [
59
+ "md5=00e5f51d0ce72f7517f3b2a7f910c572"
60
+ "sha512=91f349384a8864076c3d1b0ce3f4e94aa54900cf51e2471d21427bb25cbffac606bcd754fa545f4b2c4516ea2b0731cb580ab30bdf1911c9e47ee24d7c88c863"
61
+ ]
62
+ }
Original file line number Diff line number Diff line change
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
+ "conf-git" {build} # to patch the compiler sources
32
+ "conf-pkg-config" {build} # to detect how to link with zstd
33
+ "ocamlfind" {build} # needed by dune context (for tests)
34
+ "ocaml-src" {build}
35
+ "ocaml" {= "5.3.0"}
36
+ "solo5" {>= "0.9.1"}
37
+ ]
38
+ conflicts: [
39
+ "sexplib" {= "v0.9.0"}
40
+ "solo5-kernel-ukvm"
41
+ "solo5-kernel-virtio"
42
+ "solo5-kernel-muen"
43
+ ]
44
+ available: [
45
+ ((os = "linux" & (arch = "x86_64" | arch = "arm64"))
46
+ | (os = "freebsd" & arch = "x86_64")
47
+ | (os = "openbsd" & arch = "x86_64"))
48
+ ]
49
+ x-maintenance-intent: [ "(latest)" ]
50
+ synopsis: "OCaml cross-compiler to the freestanding Solo5 backend"
51
+ description:
52
+ "This package provides a OCaml cross-compiler, suitable for linking with a Solo5 unikernel."
53
+ url {
54
+ src:
55
+ "https://github.com/mirage/ocaml-solo5/archive/refs/tags/v1.1.0.tar.gz"
56
+ checksum: [
57
+ "md5=00e5f51d0ce72f7517f3b2a7f910c572"
58
+ "sha512=91f349384a8864076c3d1b0ce3f4e94aa54900cf51e2471d21427bb25cbffac606bcd754fa545f4b2c4516ea2b0731cb580ab30bdf1911c9e47ee24d7c88c863"
59
+ ]
60
+ }
You can’t perform that action at this time.
0 commit comments