-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlwt-riscv.opam
57 lines (47 loc) · 1.5 KB
/
lwt-riscv.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
49
50
51
52
53
54
55
56
57
opam-version: "2.0"
version: "4.2.1"
synopsis: "Promises and event-driven I/O"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/manual/"
bug-reports: "https://github.com/ocsigen/lwt/issues"
authors: [
"Jérôme Vouillon"
"Jérémie Dimino"
]
maintainer: "Sai Venkata Krishnan <[email protected]>"
dev-repo: "git+https://github.com/ocsigen/lwt.git"
depends: [
"cppo" {build & >= "1.1.0"}
"dune" {build}
"mmap" # mmap is needed as long as Lwt supports OCaml < 4.06.0.
"seq" # seq is needed as long as Lwt supports OCaml < 4.07.0.
"bisect_ppx" {dev & >= "1.3.0"}
"ocamlfind" {dev & >= "1.7.3-1"}
"ocaml-riscv" {>= "4.07.0"}
"result-riscv"
]
depopts: [
"base-threads"
"base-unix"
"conf-libev"
]
conflicts: [
"ocaml-variants" {= "4.02.1+BER"}
]
build: [
[make "add-cap-files"]
["dune" "build" "-x" "riscv" "-p" "lwt" "-j" jobs]
]
#extra-files: ["dune.patch" "md5=850b2e1ce6a5a21052abece8a4a002cf"]
#patches: ["dune.patch"]
description: "A promise is a value that may become determined in the future.
Lwt provides typed, composable promises. Promises that are resolved by I/O are
resolved by Lwt in parallel.
Meanwhile, OCaml code, including code creating and waiting on promises, runs in
a single thread by default. This reduces the need for locks or other
synchronization primitives. Code can be run in parallel on an opt-in basis."
url {
src: "https://github.com/ocsigen/lwt/archive/4.2.1.tar.gz"
checksum: "md5=9d648386ca0a9978eb9487de36b781cc"
}