This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,6 @@
(cram
(package mirage)
(deps
unikernel.opam
(source_tree mini-opam-overlays/)
(source_tree mini-opam-repository/)))

View file

@ -0,0 +1,41 @@
$ opam-monorepo lock --require-cross-compile
==> Using 1 locally scanned package as the target.
==> Found 8 opam dependencies for the target package.
==> Querying opam database for their metadata and Dune compatibility.
==> Calculating exact pins for each of them.
==> Wrote lockfile with 4 entries to $TESTCASE_ROOT/unikernel.opam.locked. You can now run opam monorepo pull to fetch their sources.
$ cat unikernel.opam.locked
opam-version: "2.0"
synopsis: "opam-monorepo generated lockfile"
maintainer: "opam-monorepo"
depends: [
"dune" {= "3.0.0"}
"fmt" {= "0.9.0+dune" & ?vendor}
"gmp" {= "6.2.9+dune" & ?vendor}
"mirage-runtime" {= "4.0.0" & ?vendor}
"ocaml-base-compiler" {= "4.13.1"}
"ocaml-solo5" {= "0.8.0"}
"solo5" {= "0.7.1"}
"zarith" {= "1.12+dune+mirage" & ?vendor}
]
pin-depends: [
["fmt.0.9.0+dune" "https://fmt.src"]
["gmp.6.2.9+dune" "https://gmp.src"]
["mirage-runtime.4.0.0" "https://mirage.src"]
["zarith.1.12+dune+mirage" "https://github.com/ocaml/zarith.git"]
]
x-opam-monorepo-cli-args: ["--require-cross-compile"]
x-opam-monorepo-duniverse-dirs: [
["https://fmt.src" "fmt"]
["https://github.com/ocaml/zarith.git" "zarith"]
["https://gmp.src" "gmp"]
["https://mirage.src" "mirage"]
]
x-opam-monorepo-opam-provided: ["ocaml-solo5"]
x-opam-monorepo-opam-repositories: [
"file://$OPAM_MONOREPO_CWD/mini-opam-overlays"
"file://$OPAM_MONOREPO_CWD/mini-opam-repository"
]
x-opam-monorepo-root-packages: ["unikernel"]
x-opam-monorepo-version: "0.3"

View file

@ -0,0 +1,9 @@
opam-version: "2.0"
depends: ["dune"]
dev-repo: "fmt"
url {
src: "https://fmt.src"
}
build: [
["dune" "build"]
]

View file

@ -0,0 +1,10 @@
opam-version: "2.0"
depends: ["dune" "gmp"]
dev-repo: "zarith"
url {
src: "https://github.com/ocaml/zarith.git"
}
tags: [ "cross-compile" ]
build: [
["dune" "build"]
]

View file

@ -0,0 +1,6 @@
opam-version: "2.0"
depends: ["dune"]
dev-repo: "zarith"
url {
src: "https://zarith.src"
}

View file

@ -0,0 +1 @@
opam-version: "2.0"

View file

@ -0,0 +1,9 @@
opam-version: "2.0"
depends: ["ocaml-base-compiler"]
dev-repo: ""
url {
src: "https://mirage.src"
}
build: [
[make]
]

View file

@ -0,0 +1,9 @@
opam-version: "2.0"
depends: ["dune"]
dev-repo: "gmp"
url {
src: "https://gmp.src"
}
build: [
["dune" "build"]
]

View file

@ -0,0 +1,9 @@
opam-version: "2.0"
depends: ["dune"]
dev-repo: "mirage"
url {
src: "https://mirage.src"
}
build: [
["dune" "build"]
]

View file

@ -0,0 +1,6 @@
opam-version: "2.0"
depends: []
dev-repo: "base"
url {
src: "https://base.src"
}

View file

@ -0,0 +1,9 @@
opam-version: "2.0"
depends: ["solo5"]
dev-repo: "ocaml-solo5"
url {
src: "https://ocaml-solo5.src"
}
build: [
["dune" "build"]
]

View file

@ -0,0 +1,9 @@
opam-version: "2.0"
depends: []
dev-repo: "solo5"
url {
src: "https://solo5.src"
}
build: [
["dune" "build"]
]

View file

@ -0,0 +1 @@
opam-version: "2.0"

View file

@ -0,0 +1,35 @@
opam-version: "2.0"
name: "noop"
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git://dummy"
synopsis: "Unikernel noop - switch dependencies"
description: """
It assumes that local dependencies are already
fetched.
"""
build: [
[ "test" "configure" ]
[ "test" "build" ]
]
install: [
[ "cp" "dist/f0.exe" "%{bin}%/f0" ]
]
depends: [
"ocaml-solo5"
"mirage-runtime"
"fmt"
"zarith"
]
x-opam-monorepo-opam-provided: [ "ocaml-solo5" ]
x-opam-monorepo-opam-repositories: [
"file://$OPAM_MONOREPO_CWD/mini-opam-overlays"
"file://$OPAM_MONOREPO_CWD/mini-opam-repository"
]