Skip to content

Commit

Permalink
Merge pull request #27134 from hannesm/ocaml-solo5-101
Browse files Browse the repository at this point in the history
new release: ocaml-solo5 1.0.1
  • Loading branch information
shonfeder authored Dec 19, 2024
2 parents b951ce7 + 02c69e0 commit d1c19c7
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 0 deletions.
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"
]
}
56 changes: 56 additions & 0 deletions packages/ocaml-solo5/ocaml-solo5.1.0.1/opam
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"
]
}

0 comments on commit d1c19c7

Please sign in to comment.