···11+opam-version: "2.0"
22+maintainer: "unixjunkie@sdf.org"
33+authors: "Francois Berenger"
44+license: "LGPL-2.0-or-later"
55+homepage: "https://github.com/UnixJunkie/parany"
66+bug-reports: "https://github.com/UnixJunkie/parany/issues"
77+dev-repo: "git+https://github.com/UnixJunkie/parany.git"
88+depends: [
99+ "base-unix"
1010+ "cpu"
1111+ "dune" {>= "1.6.0"}
1212+ "ocaml" {>= "4.03.0"}
1313+]
1414+build: [
1515+ ["dune" "build" "-p" name "-j" jobs]
1616+ ["dune" "build" "-p" name "-j" jobs "src/test.exe"] {with-test}
1717+ ["./test.sh"] {with-test}
1818+]
1919+synopsis: "Parallelize any computation"
2020+description: """
2121+Generalized map reduce for parallel computers (not distributed computing).
2222+Can process in parallel an infinite stream of elements.
2323+2424+Can process a very large file in parallel on a multicore computer;
2525+provided there is a way to cut your file into independent blocks
2626+(the 'demux' function).
2727+The processing function is called 'work'.
2828+The function gathering the results is called 'mux'.
2929+The number of processors running your computation in parallel is called
3030+'nprocs'.
3131+The chunk size (number of items) processed by one call to the 'work' function
3232+is called 'csize'.
3333+3434+There is a minimalist Parmap module, if you want to switch
3535+to/from Parmap easily.
3636+3737+Read the corresponding ocamldoc before using.
3838+3939+USING THIS LIBRARY IN A MISSION CRITICAL, LONG-RUNNING SOFTWARE
4040+THAT IS NEVER SUPPOSED TO CRASH IS NOT ADVIZED.
4141+WHILE THIS LIBRARY IS HIGH PERFORMANCE, IT IS ALSO DANGEROUS.
4242+USE AT YOUR OWN RISKS.
4343+"""
4444+url {
4545+ src: "https://github.com/UnixJunkie/parany/archive/v12.0.2.tar.gz"
4646+ checksum: "md5=152ce95487d98b8546757c6e31a455aa"
4747+}