-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27134 from hannesm/ocaml-solo5-101
new release: ocaml-solo5 1.0.1
- Loading branch information
Showing
2 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
packages/ocaml-solo5-cross-aarch64/ocaml-solo5-cross-aarch64.1.0.1/opam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
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}%" | ||
"--sysroot=%{_:lib}%" | ||
"--target=aarch64-solo5-none-static" | ||
"--ocaml-configure-option=--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed} | ||
"--ocaml-configure-option=--enable-flambda" {ocaml-option-flambda:installed} | ||
] | ||
[make "-j%{jobs}%"] | ||
[make "%{name}%.install"] | ||
] | ||
depopts: [ | ||
"ocaml-option-no-flat-float-array" | ||
"ocaml-option-flambda" | ||
] | ||
run-test: [ | ||
[make "test"] | ||
] | ||
depends: [ | ||
"conf-git" {build} # to patch the compiler sources | ||
"conf-pkg-config" {build} # to detect how to link with zstd | ||
"ocamlfind" {build} # needed by dune context (for tests) | ||
"ocaml-src" {build} | ||
"ocaml" {= "5.2.1"} | ||
"solo5" {>= "0.9.0"} | ||
"solo5-cross-aarch64" {>= "0.9.0" } | ||
] | ||
conflicts: [ | ||
"ocaml-solo5" | ||
"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 64-bit ARM Solo5 backend" | ||
description: | ||
"This package provides a OCaml cross-compiler for ARM64, suitable for linking with a Solo5 unikernel." | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-solo5/archive/refs/tags/v1.0.1.tar.gz" | ||
checksum: [ | ||
"md5=11ce90fb59f3ddf2ca04d33ce971e247" | ||
"sha512=a7fbd333154e8892f621000b7c852f6a3dce1aa66d6f2a16e9543cfdb479003f90eb9c02ae5e925edbe6cb4d83ce45e726c55754dfbaee7dc2a51029fb921c25" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
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} | ||
] | ||
[make "-j%{jobs}%"] | ||
[make "%{name}%.install"] | ||
] | ||
depopts: [ | ||
"ocaml-option-no-flat-float-array" | ||
"ocaml-option-flambda" | ||
] | ||
run-test: [ | ||
[make "test"] | ||
] | ||
depends: [ | ||
"conf-git" {build} # to patch the compiler sources | ||
"conf-pkg-config" {build} # to detect how to link with zstd | ||
"ocamlfind" {build} # needed by dune context (for tests) | ||
"ocaml-src" {build} | ||
"ocaml" {= "5.2.1"} | ||
"solo5" {>= "0.9.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." | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-solo5/archive/refs/tags/v1.0.1.tar.gz" | ||
checksum: [ | ||
"md5=11ce90fb59f3ddf2ca04d33ce971e247" | ||
"sha512=a7fbd333154e8892f621000b7c852f6a3dce1aa66d6f2a16e9543cfdb479003f90eb9c02ae5e925edbe6cb4d83ce45e726c55754dfbaee7dc2a51029fb921c25" | ||
] | ||
} |