-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathparany.opam
49 lines (44 loc) · 1.54 KB
/
parany.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
opam-version: "2.0"
maintainer: "[email protected]"
authors: "Francois Berenger"
license: "LGPL-2.0-or-later"
homepage: "https://github.com/UnixJunkie/parany"
bug-reports: "https://github.com/UnixJunkie/parany/issues"
dev-repo: "git+https://github.com/UnixJunkie/parany.git"
depends: [
"base-unix"
"cpu"
"dune" {>= "1.6.0"}
"ocaml" {>= "4.03.0"}
]
available: os != "win32"
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "build" "-p" name "-j" jobs "src/test.exe"] {with-test}
["./test.sh"] {with-test}
]
synopsis: "Parallelize any computation"
description: """
Generalized map reduce for parallel computers (not distributed computing).
Can process in parallel an infinite stream of elements.
Can process a very large file in parallel on a multicore computer;
provided there is a way to cut your file into independent blocks
(the 'demux' function).
The processing function is called 'work'.
The function gathering the results is called 'mux'.
The number of processors running your computation in parallel is called
'nprocs'.
The chunk size (number of items) processed by one call to the 'work' function
is called 'csize'.
There is a minimalist Parmap module, if you want to switch
to/from Parmap easily.
Read the corresponding ocamldoc before using.
USING THIS LIBRARY IN A MISSION CRITICAL, LONG-RUNNING SOFTWARE
THAT IS NEVER SUPPOSED TO CRASH IS NOT ADVIZED.
WHILE THIS LIBRARY IS HIGH PERFORMANCE, IT IS ALSO DANGEROUS.
USE AT YOUR OWN RISKS.
"""
#url {
# src: "https://github.com/UnixJunkie/parany/archive/vXXX.tar.gz"
# checksum: "md5=YYY"
#}