|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "Use data structures larger than available memory" |
| 3 | +description: """ |
| 4 | +This module allows you to use in-memory data structures which are |
| 5 | +larger than available memory and so are kept in swap. If you try this |
| 6 | +in normal OCaml code, you'll find that the machine quickly descends |
| 7 | +into thrashing as the garbage collector repeatedly iterates over |
| 8 | +swapped memory structures. This module lets you break that |
| 9 | +limitation. Of course the module doesn't work by magic :-) If your |
| 10 | +program tries to access these large structures, they still need to be |
| 11 | +swapped back in, but it is suitable for large, sparsely accessed |
| 12 | +structures. |
| 13 | + |
| 14 | +Secondly, this module allows you to share those structures between |
| 15 | +processes. In this mode, the structures are backed by a disk file, |
| 16 | +and any process that has read/write access that disk file can map that |
| 17 | +file in and see the structures.""" |
| 18 | +maintainer: ["Pierre Villemot < [email protected]>"] |
| 19 | +authors: ["Richard Jones et.al."] |
| 20 | +license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" |
| 21 | +homepage: "https://github.com/OCamlPro/ocaml-ancient" |
| 22 | +bug-reports: "https://github.com/OCamlPro/ocaml-ancient/issues" |
| 23 | +depends: [ |
| 24 | + "dune" {>= "3.0"} |
| 25 | + (("ocaml" {< "5"} & "ocaml-option-nnp") | "ocaml" {>= "5"}) |
| 26 | + "odoc" {with-doc} |
| 27 | +] |
| 28 | +build: [ |
| 29 | + ["dune" "subst"] {dev} |
| 30 | + [ |
| 31 | + "dune" |
| 32 | + "build" |
| 33 | + "-p" |
| 34 | + name |
| 35 | + "-j" |
| 36 | + jobs |
| 37 | + "@install" |
| 38 | + "@runtest" {with-test & arch != "arm32" & arch != "x86_32"} |
| 39 | + "@doc" {with-doc} |
| 40 | + ] |
| 41 | +] |
| 42 | +dev-repo: "git+https://github.com/OCamlPro/ocaml-ancient.git" |
| 43 | +available: os != "win32" |
| 44 | +url { |
| 45 | + src: |
| 46 | + "https://github.com/OCamlPro/ocaml-ancient/releases/download/0.10.0/ancient-0.10.0.tbz" |
| 47 | + checksum: [ |
| 48 | + "sha256=5de5543eb760ed0495ed5d13cfc3248f98efccab580fd0ce37eb6df6492e0873" |
| 49 | + "sha512=afb5349a9f242d7bc2f438b075f633305624768cb963fd277ff2b6866fa9f63be53350c1f897f87a53ccaea105b495eea6ce510b5b0ce0ae68ad863d865677ea" |
| 50 | + ] |
| 51 | +} |
| 52 | +x-commit-hash: "1698abbc80b3cc5cba765f3cca24ce3443d34d0a" |
0 commit comments