Skip to content

Commit 57b6885

Browse files
shonfedercraff
authored andcommitted
[new release] dune (18 packages) (3.24.0)
CHANGES: ### Fixed - Fix promotion failure when a target changes from a directory to a file between builds, causing "Is a directory" errors. (ocaml/dune#14371, fixes ocaml/dune#5647, fixes ocaml/dune#6575, @Alizter) - Make `dune build @doc` pick up an odoc installed via `dune tools install odoc` even without `DUNE_CONFIG__LOCK_DEV_TOOL=enabled`, mirroring how `dune fmt` consumes a locked ocamlformat (ocaml/dune#14426, fixes ocaml/dune#14235, @mt-caret) - Reject `(package ...)` inside a named dependency binding (`(deps (:name (package foo)))`). Previously this was silently accepted but `%{name}` would resolve to an empty path list. (ocaml/dune#14499, @Alizter) - Fix incorrect dependency in the `.cmxs` build for libraries with mode-dependent foreign stubs: the rule depended on the byte stubs archive instead of the native one, so parallel builds could fail to find `-l<lib>_stubs_native`. (ocaml/dune#14500, fixes ocaml/dune#12964, @Alizter) - Fix `dune build` failing with "No rule found" when `lock_dir` paths in `dune-workspace` contain a subdirectory (e.g. `(path sub/dune.lock)`). (ocaml/dune#14524, fixes ocaml/dune#14523, @Alizter) - Artifact substitution repairs executable bit if it's not set correctly in the workspace (ocaml/dune#14556, @rgrinberg) - Ignore `EINVAL` when accepting sockets on MacOS (ocaml/dune#14612, fixes ocaml/dune#12660, @rgrinberg) - Validate profile names. Profile names must be non-empty and can only contain letters, digits, `_` and `-`. The name `_` is reserved as a wildcard in `(env ...)` stanzas. (ocaml/dune#14657, fixes ocaml/dune#14630, @rlepigre) ### Added - Add `%{pkg:<package>:<section>:<path>}` pform for resolving package install files. Works with workspace packages, lock-file packages, and installed packages. (ocaml/dune#14200, fixes ocaml/dune#14193, fixes ocaml/dune#3378, @Alizter) - Enable the relocatable compiler by default for package management (ocaml/dune#14357, fixes ocaml/dune#14012, @Alizter) - Add changed source files to the `build-start` trace event for watch-mode restarts, showing the paths that triggered the rebuild (ocaml/dune#14396, @rgrinberg) - Add dune's rusage information in start/finish build trace events (ocaml/dune#14402, @rgrinberg) - Add a status message for RPC clients that manage to connect (ocaml/dune#14424, @rgrinberg) - Allow blang expressions in the `runtest_alias` field in the `cram` stanza (ocaml/dune#14425, @rgrinberg) - Extend the stat based cache to cache the contents of directories and not just source files (ocaml/dune#14469, @rgrinberg). - Show the number of connected RPC clients in the watch mode status line (ocaml/dune#14489, @rgrinberg) - Promote directory targets from experimental to generally available in 3.24 (ocaml/dune#14579, @rgrinberg) ### Changed - Use `/` as directory separator when appending local paths to external paths, making path construction consistent across platforms. (ocaml/dune#14278, @Alizter) - On Windows, normalise process paths to `\` before passing them to `CreateProcessW` so that programs which scan `argv[0]` (notably `cmd.exe`) do not misparse mixed separators. (ocaml/dune#14278, @Alizter) - `%{bin:NAME}` now resolves to the build artifact path rather than the install staging path. Rules with `%{bin:NAME}` deps additionally get a per-rule `.binaries` directory prepended to the action's `PATH`, containing correctly-named symlinks for each declared bin pform dep. (ocaml/dune#14432, fixes ocaml/dune#3324, @Alizter) - Replace the Rocq language field `(stdlib ...)` with the presence-only field `(no_corelib)` in Rocq language 0.14. (ocaml/dune#14452, fixes ocaml/dune#14358, @Durbatuluk1701) - Throttle sandbox creation to 250 concurrent sandboxes. (ocaml/dune#14464, @rgrinberg) - The package solver now uses cached revision store lookups for improved performance. (ocaml/dune#14494, fixes ocaml/dune#12637, @Alizter, @rgrinberg) - Remove the deprecated `(lang coq)` Coq Build Language. Use the Rocq Build Language (`(using rocq <version>)`) instead. Projects that still declare `(using coq <version>)` now get an error pointing them at Rocq. (ocaml/dune#14525, fixes ocaml/dune#12788, @Alizter)
1 parent 25c5684 commit 57b6885

18 files changed

Lines changed: 800 additions & 0 deletions

File tree

  • packages
    • chrome-trace/chrome-trace.3.24.0
    • dune-action-plugin/dune-action-plugin.3.24.0
    • dune-action-trace/dune-action-trace.3.24.0
    • dune-build-info/dune-build-info.3.24.0
    • dune-configurator/dune-configurator.3.24.0
    • dune-glob/dune-glob.3.24.0
    • dune-private-libs/dune-private-libs.3.24.0
    • dune-rpc-lwt/dune-rpc-lwt.3.24.0
    • dune-rpc/dune-rpc.3.24.0
    • dune-site/dune-site.3.24.0
    • dune/dune.3.24.0
    • dyn/dyn.3.24.0
    • fs-io/fs-io.3.24.0
    • ocamlc-loc/ocamlc-loc.3.24.0
    • ordering/ordering.3.24.0
    • stdune/stdune.3.24.0
    • top-closure/top-closure.3.24.0
    • xdg/xdg.3.24.0
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
synopsis: "Chrome trace event generation library"
3+
description:
4+
"This library offers no backwards compatibility guarantees. Use at your own risk."
5+
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
6+
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
7+
license: "MIT"
8+
homepage: "https://github.com/ocaml/dune"
9+
doc: "https://dune.readthedocs.io/"
10+
bug-reports: "https://github.com/ocaml/dune/issues"
11+
depends: [
12+
"dune" {>= "3.24"}
13+
"ocaml" {>= "4.14"}
14+
"odoc" {with-doc}
15+
]
16+
dev-repo: "git+https://github.com/ocaml/dune.git"
17+
x-maintenance-intent: ["(latest)"]
18+
build: [
19+
["dune" "subst"] {dev}
20+
[
21+
"dune"
22+
"build"
23+
"-p"
24+
name
25+
"-j"
26+
jobs
27+
"@install"
28+
"@doc" {with-doc}
29+
]
30+
]
31+
url {
32+
src:
33+
"https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz"
34+
checksum: [
35+
"sha256=501f73727a939aa954dc0537e37792a1ba189e61719c81dc367e2594fe016034"
36+
"sha512=cd0a366d38ffb65f45c4c92059713190bdd7359c94f0da9c75c08e3acbd505d3852b881b0be1fc060ca2ce70e9425c1447d62560de0cf768b7ec6f9370fa3491"
37+
]
38+
}
39+
x-commit-hash: "47f64de764078db6edb2698958b5270a17bffb05"
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
opam-version: "2.0"
2+
synopsis: "[experimental] API for writing dynamic Dune actions"
3+
description: """
4+
5+
This library is experimental. No backwards compatibility is implied.
6+
7+
dune-action-plugin provides an API for writing dynamic Dune actions.
8+
Dynamic dune actions do not need to declare their dependencies
9+
upfront; they are instead discovered automatically during the
10+
execution of the action.
11+
"""
12+
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
13+
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
14+
license: "MIT"
15+
homepage: "https://github.com/ocaml/dune"
16+
doc: "https://dune.readthedocs.io/"
17+
bug-reports: "https://github.com/ocaml/dune/issues"
18+
depends: [
19+
"dune" {>= "3.24"}
20+
"dune-glob" {= version}
21+
"csexp" {>= "1.5.0"}
22+
"ppx_expect" {with-test}
23+
"stdune" {= version}
24+
"dune-private-libs" {= version}
25+
"dune-rpc" {= version}
26+
"base-unix"
27+
"odoc" {with-doc}
28+
]
29+
dev-repo: "git+https://github.com/ocaml/dune.git"
30+
x-maintenance-intent: ["(latest)"]
31+
build: [
32+
["dune" "subst"] {dev}
33+
[
34+
"dune"
35+
"build"
36+
"-p"
37+
name
38+
"-j"
39+
jobs
40+
"@install"
41+
"@doc" {with-doc}
42+
]
43+
]
44+
url {
45+
src:
46+
"https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz"
47+
checksum: [
48+
"sha256=501f73727a939aa954dc0537e37792a1ba189e61719c81dc367e2594fe016034"
49+
"sha512=cd0a366d38ffb65f45c4c92059713190bdd7359c94f0da9c75c08e3acbd505d3852b881b0be1fc060ca2ce70e9425c1447d62560de0cf768b7ec6f9370fa3491"
50+
]
51+
}
52+
x-commit-hash: "47f64de764078db6edb2698958b5270a17bffb05"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
synopsis: "Dune Action Traces"
3+
description: "Produce trace events from dune actions"
4+
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
5+
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
6+
license: "MIT"
7+
homepage: "https://github.com/ocaml/dune"
8+
doc: "https://dune.readthedocs.io/"
9+
bug-reports: "https://github.com/ocaml/dune/issues"
10+
depends: [
11+
"dune" {>= "3.24"}
12+
"csexp" {>= "1.5.0"}
13+
"ocaml" {>= "4.14"}
14+
"odoc" {with-doc}
15+
]
16+
dev-repo: "git+https://github.com/ocaml/dune.git"
17+
x-maintenance-intent: ["none"]
18+
build: [
19+
["dune" "subst"] {dev}
20+
[
21+
"dune"
22+
"build"
23+
"-p"
24+
name
25+
"-j"
26+
jobs
27+
"@install"
28+
"@doc" {with-doc}
29+
]
30+
]
31+
url {
32+
src:
33+
"https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz"
34+
checksum: [
35+
"sha256=501f73727a939aa954dc0537e37792a1ba189e61719c81dc367e2594fe016034"
36+
"sha512=cd0a366d38ffb65f45c4c92059713190bdd7359c94f0da9c75c08e3acbd505d3852b881b0be1fc060ca2ce70e9425c1447d62560de0cf768b7ec6f9370fa3491"
37+
]
38+
}
39+
x-commit-hash: "47f64de764078db6edb2698958b5270a17bffb05"
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: "Embed build information inside executable"
3+
description: """
4+
The build-info library allows to access information about how the
5+
executable was built, such as the version of the project at which it
6+
was built or the list of statically linked libraries with their
7+
versions. It supports reporting the version from the version control
8+
system during development to get an precise reference of when the
9+
executable was built.
10+
"""
11+
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
12+
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
13+
license: "MIT"
14+
homepage: "https://github.com/ocaml/dune"
15+
doc: "https://dune.readthedocs.io/"
16+
bug-reports: "https://github.com/ocaml/dune/issues"
17+
depends: [
18+
"dune" {>= "3.24"}
19+
"ocaml" {>= "4.14"}
20+
"odoc" {with-doc}
21+
]
22+
dev-repo: "git+https://github.com/ocaml/dune.git"
23+
x-maintenance-intent: ["(latest)"]
24+
build: [
25+
["dune" "subst"] {dev}
26+
[
27+
"dune"
28+
"build"
29+
"-p"
30+
name
31+
"-j"
32+
jobs
33+
"@install"
34+
"@doc" {with-doc}
35+
]
36+
]
37+
url {
38+
src:
39+
"https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz"
40+
checksum: [
41+
"sha256=501f73727a939aa954dc0537e37792a1ba189e61719c81dc367e2594fe016034"
42+
"sha512=cd0a366d38ffb65f45c4c92059713190bdd7359c94f0da9c75c08e3acbd505d3852b881b0be1fc060ca2ce70e9425c1447d62560de0cf768b7ec6f9370fa3491"
43+
]
44+
}
45+
x-commit-hash: "47f64de764078db6edb2698958b5270a17bffb05"
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
opam-version: "2.0"
2+
synopsis: "Helper library for gathering system configuration"
3+
description: """
4+
dune-configurator is a small library that helps writing OCaml scripts that
5+
test features available on the system, in order to generate config.h
6+
files for instance.
7+
Among other things, dune-configurator allows one to:
8+
- test if a C program compiles
9+
- query pkg-config
10+
- import #define from OCaml header files
11+
- generate config.h file
12+
"""
13+
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
14+
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
15+
license: "MIT"
16+
homepage: "https://github.com/ocaml/dune"
17+
doc: "https://dune.readthedocs.io/"
18+
bug-reports: "https://github.com/ocaml/dune/issues"
19+
depends: [
20+
"dune" {>= "3.24"}
21+
"ocaml" {>= "4.14"}
22+
"base-unix"
23+
"csexp" {>= "1.5.0"}
24+
"odoc" {with-doc}
25+
]
26+
dev-repo: "git+https://github.com/ocaml/dune.git"
27+
x-maintenance-intent: ["(latest)"]
28+
build: [
29+
["dune" "subst"] {dev}
30+
[
31+
"dune"
32+
"build"
33+
"-p"
34+
name
35+
"-j"
36+
jobs
37+
"@install"
38+
"@doc" {with-doc}
39+
]
40+
]
41+
url {
42+
src:
43+
"https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz"
44+
checksum: [
45+
"sha256=501f73727a939aa954dc0537e37792a1ba189e61719c81dc367e2594fe016034"
46+
"sha512=cd0a366d38ffb65f45c4c92059713190bdd7359c94f0da9c75c08e3acbd505d3852b881b0be1fc060ca2ce70e9425c1447d62560de0cf768b7ec6f9370fa3491"
47+
]
48+
}
49+
x-commit-hash: "47f64de764078db6edb2698958b5270a17bffb05"
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: "Glob string matching language supported by dune"
3+
description:
4+
"dune-glob provides a parser and interpreter for globs as understood by dune language."
5+
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
6+
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
7+
license: "MIT"
8+
homepage: "https://github.com/ocaml/dune"
9+
doc: "https://dune.readthedocs.io/"
10+
bug-reports: "https://github.com/ocaml/dune/issues"
11+
depends: [
12+
"dune" {>= "3.24"}
13+
"stdune" {= version}
14+
"dyn"
15+
"re"
16+
"ordering"
17+
"odoc" {with-doc}
18+
]
19+
dev-repo: "git+https://github.com/ocaml/dune.git"
20+
x-maintenance-intent: ["(latest)"]
21+
build: [
22+
["dune" "subst"] {dev}
23+
[
24+
"dune"
25+
"build"
26+
"-p"
27+
name
28+
"-j"
29+
jobs
30+
"@install"
31+
"@doc" {with-doc}
32+
]
33+
]
34+
url {
35+
src:
36+
"https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz"
37+
checksum: [
38+
"sha256=501f73727a939aa954dc0537e37792a1ba189e61719c81dc367e2594fe016034"
39+
"sha512=cd0a366d38ffb65f45c4c92059713190bdd7359c94f0da9c75c08e3acbd505d3852b881b0be1fc060ca2ce70e9425c1447d62560de0cf768b7ec6f9370fa3491"
40+
]
41+
}
42+
x-commit-hash: "47f64de764078db6edb2698958b5270a17bffb05"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
synopsis: "Private libraries of Dune"
3+
description: """
4+
!!!!!!!!!!!!!!!!!!!!!!
5+
!!!!! DO NOT USE !!!!!
6+
!!!!!!!!!!!!!!!!!!!!!!
7+
8+
This package contains code that is shared between various dune-xxx
9+
packages. However, it is not meant for public consumption and provides
10+
no stability guarantee.
11+
"""
12+
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
13+
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
14+
license: "MIT"
15+
homepage: "https://github.com/ocaml/dune"
16+
doc: "https://dune.readthedocs.io/"
17+
bug-reports: "https://github.com/ocaml/dune/issues"
18+
depends: [
19+
"dune" {>= "3.24"}
20+
"csexp" {>= "1.5.0"}
21+
"pp" {>= "1.1.0"}
22+
"dyn" {= version}
23+
"stdune" {= version}
24+
"ocaml" {>= "4.14"}
25+
"odoc" {with-doc}
26+
]
27+
dev-repo: "git+https://github.com/ocaml/dune.git"
28+
x-maintenance-intent: ["none"]
29+
build: [
30+
["dune" "subst"] {dev}
31+
[
32+
"dune"
33+
"build"
34+
"-p"
35+
name
36+
"-j"
37+
jobs
38+
"@install"
39+
"@doc" {with-doc}
40+
]
41+
]
42+
url {
43+
src:
44+
"https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz"
45+
checksum: [
46+
"sha256=501f73727a939aa954dc0537e37792a1ba189e61719c81dc367e2594fe016034"
47+
"sha512=cd0a366d38ffb65f45c4c92059713190bdd7359c94f0da9c75c08e3acbd505d3852b881b0be1fc060ca2ce70e9425c1447d62560de0cf768b7ec6f9370fa3491"
48+
]
49+
}
50+
x-commit-hash: "47f64de764078db6edb2698958b5270a17bffb05"
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
opam-version: "2.0"
2+
synopsis: "Communicate with dune using rpc and Lwt"
3+
description: "Specialization of dune-rpc to Lwt"
4+
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
5+
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
6+
license: "MIT"
7+
homepage: "https://github.com/ocaml/dune"
8+
doc: "https://dune.readthedocs.io/"
9+
bug-reports: "https://github.com/ocaml/dune/issues"
10+
depends: [
11+
"dune" {>= "3.24"}
12+
"dune-rpc" {= version}
13+
"csexp" {>= "1.5.0"}
14+
"lwt" {>= "5.6.0"}
15+
"base-unix"
16+
"odoc" {with-doc}
17+
]
18+
dev-repo: "git+https://github.com/ocaml/dune.git"
19+
x-maintenance-intent: ["(latest)"]
20+
build: [
21+
["dune" "subst"] {dev}
22+
[
23+
"dune"
24+
"build"
25+
"-p"
26+
name
27+
"-j"
28+
jobs
29+
"@install"
30+
"@doc" {with-doc}
31+
]
32+
]
33+
url {
34+
src:
35+
"https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz"
36+
checksum: [
37+
"sha256=501f73727a939aa954dc0537e37792a1ba189e61719c81dc367e2594fe016034"
38+
"sha512=cd0a366d38ffb65f45c4c92059713190bdd7359c94f0da9c75c08e3acbd505d3852b881b0be1fc060ca2ce70e9425c1447d62560de0cf768b7ec6f9370fa3491"
39+
]
40+
}
41+
x-commit-hash: "47f64de764078db6edb2698958b5270a17bffb05"

0 commit comments

Comments
 (0)