Skip to content

Commit 2a50305

Browse files
committed
[new release] eio (5 packages) (1.2)
CHANGES: Changes: - Make `fork_action.h` a public header (@patricoferris ocaml-multicore/eio#769, reviewed by @talex5). Allows other libraries to add new actions. - Record trace event when spawning processes (@talex5 ocaml-multicore/eio#749). Spawning a subprocess can take a long time in some cases, so show it clearly in the traces. - Eio_unix.Net: make some return types more polymorphic (@talex5 ocaml-multicore/eio#744). Bug fixes: - Preserve backtraces in `fork_daemon` (@talex5 ocaml-multicore/eio#779). - Eio.Path: always use "/" as separator (@talex5 ocaml-multicore/eio#743). Linux backend: - Allow `alloc_fixed_or_wait` to be cancelled (@talex5 ocaml-multicore/eio#753). - Avoid triggering a (harmless) TSan warning (@talex5 ocaml-multicore/eio#754, reported by @avsm). Windows backend: - Unregister FDs on cancel (@talex5 ocaml-multicore/eio#756). Fixes `exception Unix.Unix_error(Unix.ENOTSOCK, "select", "")`. - Work around problems in `Unix.getaddrinfo` (@talex5 ocaml-multicore/eio#780). Fixes e.g. `No addresses found for host name "127.0.0.1"`. - Group `ECONNABORTED` with other connection reset errors (@talex5 ocaml-multicore/eio#783). - Check `has_symlink` for tests (@create2000 ocaml-multicore/eio#771, reviewed by @patricoferris and @talex5). - Improve `openat` error handling (@talex5 ocaml-multicore/eio#742, reported by @kentookura). Fixes `exception Unix.Unix_error(Unix.ENOENT, "openat", "")`. Documentation: - examples/fs: show how to read files while scanning (@talex5 ocaml-multicore/eio#745). - Add example to `Buf_read.seq` documentation (@talex5 ocaml-multicore/eio#739, requested by @darrenldl and @rizo). Build and test: - Fix tests on OpenBSD (@talex5 ocaml-multicore/eio#782). - Add advice about using AI for code generation (@patricoferris ocaml-multicore/eio#765, reviewed by @avsm and @talex5). - Minor code cleanups (@talex5 ocaml-multicore/eio#755). - Define `struct clone_args` for linux-lts versions that don't have it (@copy ocaml-multicore/eio#741, reviewed by @talex5). - eio_linux: refactor fixed buffer code (@talex5 ocaml-multicore/eio#752).
1 parent 727427c commit 2a50305

File tree

5 files changed

+228
-0
lines changed
  • packages
    • eio_linux/eio_linux.1.2
    • eio_main/eio_main.1.2
    • eio_posix/eio_posix.1.2
    • eio_windows/eio_windows.1.2
    • eio/eio.1.2

5 files changed

+228
-0
lines changed

packages/eio/eio.1.2/opam

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
opam-version: "2.0"
2+
synopsis: "Effect-based direct-style IO API for OCaml"
3+
description: "An effect-based IO API for multicore OCaml with fibers."
4+
maintainer: ["[email protected]"]
5+
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
6+
license: "ISC"
7+
homepage: "https://github.com/ocaml-multicore/eio"
8+
doc: "https://ocaml-multicore.github.io/eio/"
9+
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
10+
depends: [
11+
"dune" {>= "3.9"}
12+
"ocaml" {>= "5.1.0"}
13+
"bigstringaf" {>= "0.9.0"}
14+
"cstruct" {>= "6.0.1"}
15+
"lwt-dllist"
16+
"optint" {>= "0.1.0"}
17+
"psq" {>= "0.2.0"}
18+
"fmt" {>= "0.8.9"}
19+
"hmap" {>= "0.8.1"}
20+
"domain-local-await" {>= "0.1.0"}
21+
"crowbar" {>= "0.2" & with-test}
22+
"mtime" {>= "2.0.0"}
23+
"mdx" {>= "2.4.1" & with-test}
24+
"dscheck" {>= "0.1.0" & with-test}
25+
"odoc" {with-doc}
26+
]
27+
conflicts: [
28+
"seq" {< "0.3"}
29+
]
30+
build: [
31+
["dune" "subst"] {dev}
32+
[
33+
"dune"
34+
"build"
35+
"-p"
36+
name
37+
"-j"
38+
jobs
39+
"@install"
40+
"@runtest" {with-test}
41+
"@doc" {with-doc}
42+
]
43+
]
44+
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
45+
url {
46+
src:
47+
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
48+
checksum: [
49+
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
50+
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
51+
]
52+
}
53+
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
opam-version: "2.0"
2+
synopsis: "Eio implementation for Linux using io-uring"
3+
description: "An Eio implementation for Linux using io-uring."
4+
maintainer: ["[email protected]"]
5+
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
6+
license: "ISC"
7+
homepage: "https://github.com/ocaml-multicore/eio"
8+
doc: "https://ocaml-multicore.github.io/eio/"
9+
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
10+
depends: [
11+
"dune" {>= "3.9"}
12+
"alcotest" {>= "1.7.0" & with-test}
13+
"eio" {= version}
14+
"mdx" {>= "2.4.1" & with-test}
15+
"logs" {>= "0.7.0" & with-test}
16+
"fmt" {>= "0.8.9"}
17+
"cmdliner" {>= "1.1.0" & with-test}
18+
"uring" {>= "0.9"}
19+
"odoc" {with-doc}
20+
]
21+
build: [
22+
["dune" "subst"] {dev}
23+
[
24+
"dune"
25+
"build"
26+
"-p"
27+
name
28+
"-j"
29+
jobs
30+
"@install"
31+
"@runtest" {with-test}
32+
"@doc" {with-doc}
33+
]
34+
]
35+
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
36+
available: [os = "linux"]
37+
url {
38+
src:
39+
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
40+
checksum: [
41+
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
42+
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
43+
]
44+
}
45+
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
opam-version: "2.0"
2+
synopsis: "Effect-based direct-style IO mainloop for OCaml"
3+
description: "Selects an appropriate Eio backend for the current platform."
4+
maintainer: ["[email protected]"]
5+
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
6+
license: "ISC"
7+
homepage: "https://github.com/ocaml-multicore/eio"
8+
doc: "https://ocaml-multicore.github.io/eio/"
9+
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
10+
depends: [
11+
"dune" {>= "3.9"}
12+
"mdx" {>= "2.4.1" & with-test}
13+
"kcas" {>= "0.3.0" & with-test}
14+
"yojson" {>= "2.0.2" & with-test}
15+
"eio_linux"
16+
{= version & os = "linux" &
17+
(os-distribution != "centos" | os-version > "7")}
18+
"eio_posix" {= version & os != "win32"}
19+
"eio_windows" {= version & os = "win32"}
20+
"odoc" {with-doc}
21+
]
22+
build: [
23+
["dune" "subst"] {dev}
24+
[
25+
"dune"
26+
"build"
27+
"-p"
28+
name
29+
"-j"
30+
jobs
31+
"@install"
32+
"@runtest" {with-test}
33+
"@doc" {with-doc}
34+
]
35+
]
36+
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
37+
x-ci-accept-failures: ["macos-homebrew"]
38+
url {
39+
src:
40+
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
41+
checksum: [
42+
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
43+
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
44+
]
45+
}
46+
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
synopsis: "Eio implementation for POSIX systems"
3+
description: "An Eio implementation for most Unix-like platforms"
4+
maintainer: ["[email protected]"]
5+
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
6+
license: "ISC"
7+
homepage: "https://github.com/ocaml-multicore/eio"
8+
doc: "https://ocaml-multicore.github.io/eio/"
9+
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
10+
depends: [
11+
"dune" {>= "3.9"}
12+
"eio" {= version}
13+
"iomux" {>= "0.2"}
14+
"mdx" {>= "2.4.1" & with-test}
15+
"conf-bash" {with-test}
16+
"fmt" {>= "0.8.9"}
17+
"odoc" {with-doc}
18+
]
19+
build: [
20+
["dune" "subst"] {dev}
21+
[
22+
"dune"
23+
"build"
24+
"-p"
25+
name
26+
"-j"
27+
jobs
28+
"@install"
29+
"@runtest" {with-test}
30+
"@doc" {with-doc}
31+
]
32+
]
33+
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
34+
url {
35+
src:
36+
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
37+
checksum: [
38+
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
39+
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
40+
]
41+
}
42+
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
synopsis: "Eio implementation for Windows"
3+
description: "An Eio implementation using OCaml's Unix.select"
4+
maintainer: ["[email protected]"]
5+
authors: ["Anil Madhavapeddy" "Thomas Leonard"]
6+
license: "ISC"
7+
homepage: "https://github.com/ocaml-multicore/eio"
8+
doc: "https://ocaml-multicore.github.io/eio/"
9+
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
10+
depends: [
11+
"dune" {>= "3.9"}
12+
"eio" {= version}
13+
"fmt" {>= "0.8.9"}
14+
"kcas" {>= "0.3.0" & with-test}
15+
"alcotest" {>= "1.7.0" & with-test}
16+
"odoc" {with-doc}
17+
]
18+
build: [
19+
["dune" "subst"] {dev}
20+
[
21+
"dune"
22+
"build"
23+
"-p"
24+
name
25+
"-j"
26+
jobs
27+
"@install"
28+
"@runtest" {with-test}
29+
"@doc" {with-doc}
30+
]
31+
]
32+
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
33+
url {
34+
src:
35+
"https://github.com/ocaml-multicore/eio/releases/download/v1.2/eio-1.2.tbz"
36+
checksum: [
37+
"sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40"
38+
"sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4"
39+
]
40+
}
41+
x-commit-hash: "f26d70d64265a6bed7416d3db3bd14a5e090b6d6"
42+
available: [os = "win32"]

0 commit comments

Comments
 (0)