From 727a1611d9dacb75c6a8fc42892eca941dfbb1dd Mon Sep 17 00:00:00 2001 From: dinosaure Date: Mon, 22 Mar 2021 16:39:24 +0100 Subject: [PATCH 1/2] [new release] io-page (2.4.0) CHANGES: * Use workspace flags (@TheLortex, mirage/io-page#60) * Use ocamlformat (@TheLortex, mirage/io-page#60) * **breaking changes** Remove io-page-xen and io-page-unix split (@samoht, mirage/io-page#60) * Update CI scripts (@samoht, mirage/io-page#60) * **breaking changes** Update the C layout of io-page according MirageOS 3/4 (@dinosaure, mirage/io-page#62) JS/C functions are renamed from `mirage_*` to `caml_mirage_iopage_*` * Add ocaml-freestanding and pkg-config as dependencies of `io-page` To be able to 'cross'-compile to Solo5 --- packages/io-page/io-page.2.4.0/opam | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 packages/io-page/io-page.2.4.0/opam diff --git a/packages/io-page/io-page.2.4.0/opam b/packages/io-page/io-page.2.4.0/opam new file mode 100644 index 000000000000..a4205dc99fb3 --- /dev/null +++ b/packages/io-page/io-page.2.4.0/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Dave Scott" "Thomas Gazagnaire"] +license: "ISC" +tags: "org:mirage" +homepage: "https://github.com/mirage/io-page" +bug-reports: "https://github.com/mirage/io-page/issues" +doc: "https://mirage.github.io/io-page/" +depends: [ + "conf-pkg-config" {build} + "ocaml" {>= "4.02.3"} + "dune" + "cstruct" {>= "2.0.0"} + "bigarray-compat" + "ounit" {with-test} +] +build: [ + ["dune" "subst"] {pinned} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +conflicts: [ + "mirage-xen" {< "6.0.0"} + "ocaml-freestanding" {< "0.4.1"} +] +depopts: [ + "ocaml-freestanding" +] +dev-repo: "git+https://github.com/mirage/io-page.git" +synopsis: "Support for efficient handling of I/O memory pages" +description: """ +IO pages are page-aligned, and wrapped in the `Cstruct` library to avoid +copying the data contained within the page. +""" +x-commit-hash: "1136fa7983725786f3175a0d9702db924b1f7744" +url { + src: + "https://github.com/mirage/io-page/releases/download/v2.4.0/io-page-v2.4.0.tbz" + checksum: [ + "sha256=80caf401f9c389f1ccf75d93b2d82423e434171075ac0c9bd006dfa2ca6df442" + "sha512=4dcaff2132a74c7e69ab743534d913b15690f6deef02a94997dc61c08c62f735faf6fb1466f2f3af719fede8237da6a6b808cec45e1147c688ff240a02dc133e" + ] +} From 1f71fa1806080e4da032a2e02ee0a077fbe0029b Mon Sep 17 00:00:00 2001 From: Calascibetta Romain Date: Mon, 22 Mar 2021 18:17:16 +0100 Subject: [PATCH 2/2] Update packages/io-page/io-page.2.4.0/opam Co-authored-by: Kate --- packages/io-page/io-page.2.4.0/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/io-page/io-page.2.4.0/opam b/packages/io-page/io-page.2.4.0/opam index a4205dc99fb3..c0933c7f79ab 100644 --- a/packages/io-page/io-page.2.4.0/opam +++ b/packages/io-page/io-page.2.4.0/opam @@ -9,7 +9,7 @@ doc: "https://mirage.github.io/io-page/" depends: [ "conf-pkg-config" {build} "ocaml" {>= "4.02.3"} - "dune" + "dune" {>= "2.6"} "cstruct" {>= "2.0.0"} "bigarray-compat" "ounit" {with-test}