Skip to content

Commit

Permalink
[new release] mirage, mirage-runtime, functoria and functoria-runtime…
Browse files Browse the repository at this point in the history
… (4.2.0)

CHANGES:

#### Fixed

- Remove non-existing mirage-repo-add and mirage-repo-rm from PHONY in generated
  Makefile (mirage/mirage#1332, @hannesm)
- Update deprecated references (mirage/mirage#1337, @reynir)

#### Changed

- Prepare for reproducing unikernels with generated opam file (mirage/mirage#1335, @hannesm)
  - split x-mirage-configure (mirage configure), x-mirage-pre-build
    (make lock pull), and build instructions in opam file
  - embed x-mirage-extra-repo (a list of opam repositories to use)
  - take relative paths up to git repository into account
  - include x-mirage-opam-lock-location (relative to git repository root)
- Adapt constraints for mirage-solo5 0.9.0 and mirage-xen 8.0.0 (ocaml-solo5
  0.8.1 with trim and improved memory metrics) (mirage/mirage#1338, @hannesm, based on
  @palainp work)
- Require opam-monorepo 0.3.2 (mirage/mirage#1332 mirage/mirage#1334, @hannesm @dinosaure)
- Use OPAMVAR_monorepo instead of OPAMVAR_switch in generated opam file (mirage/mirage#1332,
  @hannesm)
- Remove name from opam file (mirage/mirage#1332, @hannesm)
  • Loading branch information
hannesm committed Jul 26, 2022
1 parent 42e749b commit 6ae82ae
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 0 deletions.
40 changes: 40 additions & 0 deletions packages/functoria-runtime/functoria-runtime.4.2.0/opam
@@ -0,0 +1,40 @@
opam-version: "2.0"
maintainer: "Gabriel Radanne <drupyog@zoho.com>"
authors: [ "Thomas Gazagnaire"
"Anil Madhavapeddy"
"Dave Scott"
"Thomas Leonard"
"Gabriel Radanne" ]
homepage: "https://github.com/mirage/mirage"
bug-reports: "https://github.com/mirage/mirage/issues"
dev-repo: "git+https://github.com/mirage/mirage.git"
doc: "https://mirage.github.io/mirage/"
license: "ISC"
tags: ["org:mirage"]

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.9.0"}
"cmdliner" {>= "1.1.0"}
"fmt" {>= "0.8.7"}
]

synopsis: "Runtime support library for functoria-generated code"
description: """
This is the runtime support library for code generated by functoria.
"""
url {
src:
"https://github.com/mirage/mirage/releases/download/v4.2.0/mirage-4.2.0.tbz"
checksum: [
"sha256=ad9f72f3ec1b0e3aa3635b31f93992a11e36854291306a5e842091d9c1206eff"
"sha512=84db845343a91bd536e924b2a2ffcbc71979f05416a8515f3587a1af1f2adc1c56c50da3a7fe659230c341e61ae3de41f70a4763b07b041762e79dbe6f294712"
]
}
x-commit-hash: "134271f1bb1aa418da2b06aab4954ee66504f667"
57 changes: 57 additions & 0 deletions packages/functoria/functoria.4.2.0/opam
@@ -0,0 +1,57 @@
opam-version: "2.0"
maintainer: "Gabriel Radanne <drupyog@zoho.com>"
authors: [ "Thomas Gazagnaire"
"Anil Madhavapeddy"
"Dave Scott"
"Thomas Leonard"
"Gabriel Radanne" ]
homepage: "https://github.com/mirage/mirage"
bug-reports: "https://github.com/mirage/mirage/issues"
dev-repo: "git+https://github.com/mirage/mirage.git"
doc: "https://mirage.github.io/mirage/"
license: "ISC"
tags: ["org:mirage"]
available: opam-version >= "2.1.0"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["env" "INSIDE_FUNCTORIA_TESTS=1" "dune" "exec" "-p" name "-j" jobs "--"
"test/functoria/e2e/test.exe"] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.9.0" | (with-test & >= "3.0.0")}
"base-unix"
"cmdliner" {>= "1.1.1"}
"rresult" {>= "0.7.0"}
"result" {>= "1.5"}
"astring"
"fmt" {>= "0.8.7"}
"logs"
"bos"
"fpath"
"emile" {>= "1.1"}
"uri" {>= "4.2.0"}
"alcotest" {with-test}
"functoria-runtime" {= version & with-test}
]
synopsis: "A DSL to organize functor applications"
description: """
Functoria is a DSL to describe a set of modules and functors, their types and
how to apply them in order to produce a complete application.

The main use case is mirage. See the [mirage](https://github.com/mirage/mirage)
repository for details.
"""
url {
src:
"https://github.com/mirage/mirage/releases/download/v4.2.0/mirage-4.2.0.tbz"
checksum: [
"sha256=ad9f72f3ec1b0e3aa3635b31f93992a11e36854291306a5e842091d9c1206eff"
"sha512=84db845343a91bd536e924b2a2ffcbc71979f05416a8515f3587a1af1f2adc1c56c50da3a7fe659230c341e61ae3de41f70a4763b07b041762e79dbe6f294712"
]
}
x-commit-hash: "134271f1bb1aa418da2b06aab4954ee66504f667"
41 changes: 41 additions & 0 deletions packages/mirage-runtime/mirage-runtime.4.2.0/opam
@@ -0,0 +1,41 @@
opam-version: "2.0"
maintainer: ["anil@recoil.org" "thomas@gazagnaire.org"]
authors: ["Thomas Gazagnaire" "Anil Madhavapeddy" "Gabriel Radanne"
"Mindy Preston" "Thomas Leonard" "Nicolas Ojeda Bar"
"Dave Scott" "David Kaloper" "Hannes Mehnert" "Richard Mortier"]
homepage: "https://github.com/mirage/mirage"
bug-reports: "https://github.com/mirage/mirage/issues/"
dev-repo: "git+https://github.com/mirage/mirage.git"
license: "ISC"
tags: ["org:mirage" "org:xapi-project"]
doc: "https://mirage.github.io/mirage/"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.9.0"}
"ipaddr" {>= "5.0.0"}
"functoria-runtime" {= version}
"fmt" {>= "0.8.4"}
"logs"
"lwt" {>= "4.0.0"}
"alcotest" {with-test}
]
synopsis: "The base MirageOS runtime library, part of every MirageOS unikernel"
description: """
A bundle of useful runtime functions for applications built with MirageOS
"""
url {
src:
"https://github.com/mirage/mirage/releases/download/v4.2.0/mirage-4.2.0.tbz"
checksum: [
"sha256=ad9f72f3ec1b0e3aa3635b31f93992a11e36854291306a5e842091d9c1206eff"
"sha512=84db845343a91bd536e924b2a2ffcbc71979f05416a8515f3587a1af1f2adc1c56c50da3a7fe659230c341e61ae3de41f70a4763b07b041762e79dbe6f294712"
]
}
x-commit-hash: "134271f1bb1aa418da2b06aab4954ee66504f667"
54 changes: 54 additions & 0 deletions packages/mirage/mirage.4.2.0/opam
@@ -0,0 +1,54 @@
opam-version: "2.0"
maintainer: ["anil@recoil.org" "thomas@gazagnaire.org"]
authors: ["Thomas Gazagnaire" "Anil Madhavapeddy" "Gabriel Radanne"
"Mindy Preston" "Thomas Leonard" "Nicolas Ojeda Bar"
"Dave Scott" "David Kaloper" "Hannes Mehnert" "Richard Mortier"]
homepage: "https://github.com/mirage/mirage"
bug-reports: "https://github.com/mirage/mirage/issues/"
dev-repo: "git+https://github.com/mirage/mirage.git"
license: "ISC"
tags: ["org:mirage" "org:xapi-project"]
doc: "https://mirage.github.io/mirage/"
available: opam-version >= "2.1.0"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.9.0" | (with-test & >= "3.0.0")}
"ipaddr" {>= "5.0.0"}
"functoria" {= version}
"bos"
"astring"
"logs"
"mirage-runtime" {= version}
"opam-monorepo" {>= "0.3.2"}
"alcotest" {with-test}
"fmt" {>= "0.8.7" & with-test}
]
synopsis: "The MirageOS library operating system"
description: """
MirageOS is a library operating system that constructs unikernels for
secure, high-performance network applications across a variety of
cloud computing and mobile platforms. Code can be developed on a
normal OS such as Linux or MacOS X, and then compiled into a
fully-standalone, specialised unikernel that runs under the Xen
hypervisor.

Since Xen powers most public cloud computing infrastructure such as
Amazon EC2 or Rackspace, this lets your servers run more cheaply,
securely and with finer control than with a full software stack.
"""
url {
src:
"https://github.com/mirage/mirage/releases/download/v4.2.0/mirage-4.2.0.tbz"
checksum: [
"sha256=ad9f72f3ec1b0e3aa3635b31f93992a11e36854291306a5e842091d9c1206eff"
"sha512=84db845343a91bd536e924b2a2ffcbc71979f05416a8515f3587a1af1f2adc1c56c50da3a7fe659230c341e61ae3de41f70a4763b07b041762e79dbe6f294712"
]
}
x-commit-hash: "134271f1bb1aa418da2b06aab4954ee66504f667"

0 comments on commit 6ae82ae

Please sign in to comment.