Skip to content

Commit c5fc79e

Browse files
committed
[new release] xdg, stdune, ordering, ocamlc-loc, dyn, dune, dune-site, dune-rpc, dune-rpc-lwt, dune-private-libs, dune-glob, dune-configurator, dune-build-info, dune-action-plugin and chrome-trace (3.7.0)
CHANGES: - Allow running `$ dune exec` in watch mode (with the `-w` flag). In watch mode, `$ dune exec` the executed binary whenever it is recompiled. (ocaml/dune#6966, @gridbugs) - `coqdep` is now called once per theory, instead of one time per Coq file. This should significantly speed up some builds, as `coqdep` startup time is often heavy (ocaml/dune#7048, @Alizter, @ejgallego) - Add `map_workspace_root` dune-project stanza to allow disabling of mapping of workspace root to `/workspace_root`. (ocaml/dune#6988, fixes ocaml/dune#6929, @richardlford) - Fix handling of support files generated by odoc. (ocaml/dune#6913, @jonludlam) - Fix parsing of OCaml errors that contain code excerpts with `...` in them. (ocaml/dune#7008, @rgrinberg) - Pre-emptively clear screen in watch mode (ocaml/dune#6987, fixes ocaml/dune#6884, @rgrinberg) - Fix cross compilation configuration when a context with targets is itself a host of another context (ocaml/dune#6958, fixes ocaml/dune#6843, @rgrinberg) - Fix parsing of the `<=` operator in *blang* expressions of `dune` files. Previously, the operator would be interpreted as `<`. (ocaml/dune#6928, @tatchi) - Fix `--trace-file` output. Dune now emits a single *complete* event for every executed process. Unterminated *async* events are no longer written. (ocaml/dune#6892, @rgrinberg) - Fix preprocessing with `staged_pps` (ocaml/dune#6748, fixes ocaml/dune#6644, @rgrinberg) - Use colored output with MDX when Dune colors are enabled. (ocaml/dune#6462, @MisterDA) - Make `dune describe workspace` return consistent dependencies for executables and for libraries. By default, compile-time dependencies towards PPX-rewriters are from now not taken into account (but runtime dependencies always are). Compile-time dependencies towards PPX-rewriters can be taken into account by providing the `--with-pps` flag. (ocaml/dune#6727, fixes ocaml/dune#6486, @esope) - Print missing newline after `$ dune exec`. (ocaml/dune#6821, fixes ocaml/dune#6700, @rgrinberg, @Alizter) - Fix binary corruption when installing or promoting in parallel (ocaml/dune#6669, fixes ocaml/dune#6668, @edwintorok) - Use colored output with GCC and Clang when compiling C stubs. The flag `-fdiagnostics-color=always` is added to the `:standard` set of flags. (ocaml/dune#4083, @MisterDA) - Fix the parsing of decimal and hexadecimal escape literals in `dune`, `dune-package`, and other dune s-expression based files (ocaml/dune#6710, @shym) - Report an error if `dune init ...` would create a "dune" file in a location which already contains a "dune" directory (ocaml/dune#6705, @gridbugs) - Fix the parsing of alerts. They will now show up in diagnostics correctly. (ocaml/dune#6678, @rginberg) - Fix the compilation of modules generated at link time when `implicit_transitive_deps` is enabled (ocaml/dune#6642, @rgrinberg) - Allow `$ dune utop` to load libraries defined in data only directories defined using `(subdir ..)` (ocaml/dune#6631, @rgrinberg) - Format dune files when they are named `dune-file`. This occurs when we enable the alternative file names project option. (ocaml/dune#6566, @rgrinberg) - Move `$ dune ocaml-merlin -dump-config=$dir` to `$ dune ocaml merlin dump-config $dir`. (ocaml/dune#6547, @rgrinberg) - Allow compilation rules to be impacted by `(env ..)` stanzas that modify the environment or set binaries. (ocaml/dune#6527, @rgrinberg) - Coq native mode is now automatically detected by Dune starting with Coq lang 0.7. `(mode native)` has been deprecated in favour of detection from the configuration of Coq. (ocaml/dune#6409, @Alizter) - Print "Leaving Directory" whenever "Entering Directory" is printed. (ocaml/dune#6419, fixes ocaml/dune#138, @cpitclaudel, @rgrinberg) - Allow `$ dune ocaml dump-dot-merlin` to run in watch mode. Also this command shouldn't print "Entering Directory" mesages. (ocaml/dune#6497, @rgrinberg) - `dune clean` should no longer fail under Windows due to the inability to remove the `.lock` file. Also, bring the implementation of the global lock under Windows closer to that of Unix. (ocaml/dune#6523, @nojb) - Remove "Entering Directory" messages for `$ dune install`. (ocaml/dune#6513, @rgrinberg) - Stop passing `-q` flag in `dune coq top`, which allows for `.coqrc` to be loaded. (ocaml/dune#6848, fixes ocaml/dune#6847, @Alizter) - Fix missing dependencies when detecting the kind of C compiler we're using (ocaml/dune#6610, fixes ocaml/dune#6415, @emillon) - Allow `(include_subdirs qualified)` for OCaml projects. (ocaml/dune#6594, fixes ocaml/dune#1084, @rgrinberg) - Accurately determine merlin configuration for all sources selected with `copy#` and `copy_files#`. The old heuristic of looking for a module in parent directories is removed (ocaml/dune#6594, @rgrinberg) - Fix inline tests with *js_of_ocaml* and whole program compilation mode enabled (ocaml/dune#6645, @hhugo) - Fix *js_of_ocaml* separate compilation rules when `--enable=effects` ,`--enable=use-js-string` or `--toplevel` is used. (ocaml/dune#6714, ocaml/dune#6828, ocaml/dune#6920, @hhugo) - Fix *js_of_ocaml* separate compilation in presence of linkall (ocaml/dune#6832, ocaml/dune#6916, @hhugo) - Remove spurious build dir created when running `dune init proj ...` (ocaml/dune#6707, fixes ocaml/dune#5429, @gridbugs) - Allow `--sandbox` to affect `ocamldep` invocations. Previously, they were wrongly marked as incompatible (ocaml/dune#6749, @rgrinberg) - Validate the command line arguments for `$ dune ocaml top-module`. This command requires one positional argument (ocaml/dune#6796, fixes ocaml/dune#6793, @rgrinberg) - Add a `dune cache size` command for displaying the size of the cache (ocaml/dune#6638, @Alizter) - Fix dependency cycle when installing files to the bin section with `glob_files` (ocaml/dune#6764, fixes ocaml/dune#6708, @gridbugs) - Handle "Too many links" errors when using Dune cache on Windows (ocaml/dune#6993, @nojb) - Allow the `cinaps` stanza to set a custom alias. By default, if the alias is not set then the cinaps actions will be attached to both `@cinaps` and `@runtest` (ocaml/dune#6991, @rgrinberg) - Add `(using ctypes 0.3)`. When used, paths in `(ctypes)` are interpreted relative to where the stanza is defined. (ocaml/dune#6883, fixes ocaml/dune#5325, @emillon) - Auto-detect `dune-workspace` files as `dune` files in Emacs (ocaml/dune#7061, @ilankri) - Add native support for polling mode on Windows (ocaml/dune#7010, @yams-yams, @nojb)
1 parent 09ab505 commit c5fc79e

File tree

15 files changed

+657
-0
lines changed
  • packages
    • chrome-trace/chrome-trace.3.7.0
    • dune/dune.3.7.0
    • dune-action-plugin/dune-action-plugin.3.7.0
    • dune-build-info/dune-build-info.3.7.0
    • dune-configurator/dune-configurator.3.7.0
    • dune-glob/dune-glob.3.7.0
    • dune-private-libs/dune-private-libs.3.7.0
    • dune-rpc/dune-rpc.3.7.0
    • dune-rpc-lwt/dune-rpc-lwt.3.7.0
    • dune-site/dune-site.3.7.0
    • dyn/dyn.3.7.0
    • ocamlc-loc/ocamlc-loc.3.7.0
    • ordering/ordering.3.7.0
    • stdune/stdune.3.7.0
    • xdg/xdg.3.7.0

15 files changed

+657
-0
lines changed
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 <[email protected]>"]
6+
authors: ["Jane Street Group, LLC <[email protected]>"]
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.5"}
13+
"ocaml" {>= "4.08.0"}
14+
"odoc" {with-doc}
15+
]
16+
dev-repo: "git+https://github.com/ocaml/dune.git"
17+
build: [
18+
["dune" "subst"] {dev}
19+
["rm" "-rf" "vendor/csexp"]
20+
["rm" "-rf" "vendor/pp"]
21+
[
22+
"dune"
23+
"build"
24+
"-p"
25+
name
26+
"-j"
27+
jobs
28+
"@install"
29+
"@doc" {with-doc}
30+
]
31+
]
32+
url {
33+
src: "https://github.com/ocaml/dune/releases/download/3.7.0/dune-3.7.0.tbz"
34+
checksum: [
35+
"sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8"
36+
"sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295"
37+
]
38+
}
39+
x-commit-hash: "d3d628f2eda2278bd2df6e37452d8693f367fcfd"
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 <[email protected]>"]
13+
authors: ["Jane Street Group, LLC <[email protected]>"]
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.5"}
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+
build: [
31+
["dune" "subst"] {dev}
32+
["rm" "-rf" "vendor/csexp"]
33+
["rm" "-rf" "vendor/pp"]
34+
[
35+
"dune"
36+
"build"
37+
"-p"
38+
name
39+
"-j"
40+
jobs
41+
"@install"
42+
"@doc" {with-doc}
43+
]
44+
]
45+
url {
46+
src: "https://github.com/ocaml/dune/releases/download/3.7.0/dune-3.7.0.tbz"
47+
checksum: [
48+
"sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8"
49+
"sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295"
50+
]
51+
}
52+
x-commit-hash: "d3d628f2eda2278bd2df6e37452d8693f367fcfd"
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 <[email protected]>"]
12+
authors: ["Jane Street Group, LLC <[email protected]>"]
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.5"}
19+
"ocaml" {>= "4.08"}
20+
"odoc" {with-doc}
21+
]
22+
dev-repo: "git+https://github.com/ocaml/dune.git"
23+
build: [
24+
["dune" "subst"] {dev}
25+
["rm" "-rf" "vendor/csexp"]
26+
["rm" "-rf" "vendor/pp"]
27+
[
28+
"dune"
29+
"build"
30+
"-p"
31+
name
32+
"-j"
33+
jobs
34+
"@install"
35+
"@doc" {with-doc}
36+
]
37+
]
38+
url {
39+
src: "https://github.com/ocaml/dune/releases/download/3.7.0/dune-3.7.0.tbz"
40+
checksum: [
41+
"sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8"
42+
"sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295"
43+
]
44+
}
45+
x-commit-hash: "d3d628f2eda2278bd2df6e37452d8693f367fcfd"
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 <[email protected]>"]
14+
authors: ["Jane Street Group, LLC <[email protected]>"]
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.5"}
21+
"ocaml" {>= "4.04.0"}
22+
"base-unix"
23+
"csexp" {>= "1.5.0"}
24+
"odoc" {with-doc}
25+
]
26+
dev-repo: "git+https://github.com/ocaml/dune.git"
27+
build: [
28+
["dune" "subst"] {dev}
29+
["rm" "-rf" "vendor/csexp"]
30+
["rm" "-rf" "vendor/pp"]
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: "https://github.com/ocaml/dune/releases/download/3.7.0/dune-3.7.0.tbz"
44+
checksum: [
45+
"sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8"
46+
"sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295"
47+
]
48+
}
49+
x-commit-hash: "d3d628f2eda2278bd2df6e37452d8693f367fcfd"
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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 <[email protected]>"]
6+
authors: ["Jane Street Group, LLC <[email protected]>"]
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.5"}
13+
"stdune" {= version}
14+
"dune-private-libs" {= version}
15+
"odoc" {with-doc}
16+
]
17+
dev-repo: "git+https://github.com/ocaml/dune.git"
18+
build: [
19+
["dune" "subst"] {dev}
20+
["rm" "-rf" "vendor/csexp"]
21+
["rm" "-rf" "vendor/pp"]
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: "https://github.com/ocaml/dune/releases/download/3.7.0/dune-3.7.0.tbz"
35+
checksum: [
36+
"sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8"
37+
"sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295"
38+
]
39+
}
40+
x-commit-hash: "d3d628f2eda2278bd2df6e37452d8693f367fcfd"
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 <[email protected]>"]
13+
authors: ["Jane Street Group, LLC <[email protected]>"]
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.5"}
20+
"csexp" {>= "1.5.0"}
21+
"pp" {>= "1.1.0"}
22+
"dyn" {= version}
23+
"stdune" {= version}
24+
"ocaml" {>= "4.08"}
25+
"odoc" {with-doc}
26+
]
27+
dev-repo: "git+https://github.com/ocaml/dune.git"
28+
build: [
29+
["dune" "subst"] {dev}
30+
["rm" "-rf" "vendor/csexp"]
31+
["rm" "-rf" "vendor/pp"]
32+
[
33+
"dune"
34+
"build"
35+
"-p"
36+
name
37+
"-j"
38+
jobs
39+
"@install"
40+
"@doc" {with-doc}
41+
]
42+
]
43+
url {
44+
src: "https://github.com/ocaml/dune/releases/download/3.7.0/dune-3.7.0.tbz"
45+
checksum: [
46+
"sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8"
47+
"sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295"
48+
]
49+
}
50+
x-commit-hash: "d3d628f2eda2278bd2df6e37452d8693f367fcfd"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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 <[email protected]>"]
5+
authors: ["Jane Street Group, LLC <[email protected]>"]
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.5"}
12+
"dune-rpc" {= version}
13+
"result" {>= "1.5"}
14+
"csexp" {>= "1.5.0"}
15+
"lwt" {>= "5.3.0"}
16+
"base-unix"
17+
"odoc" {with-doc}
18+
]
19+
dev-repo: "git+https://github.com/ocaml/dune.git"
20+
build: [
21+
["dune" "subst"] {dev}
22+
["rm" "-rf" "vendor/csexp"]
23+
["rm" "-rf" "vendor/pp"]
24+
[
25+
"dune"
26+
"build"
27+
"-p"
28+
name
29+
"-j"
30+
jobs
31+
"@install"
32+
"@doc" {with-doc}
33+
]
34+
]
35+
url {
36+
src: "https://github.com/ocaml/dune/releases/download/3.7.0/dune-3.7.0.tbz"
37+
checksum: [
38+
"sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8"
39+
"sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295"
40+
]
41+
}
42+
x-commit-hash: "d3d628f2eda2278bd2df6e37452d8693f367fcfd"

packages/dune-rpc/dune-rpc.3.7.0/opam

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
opam-version: "2.0"
2+
synopsis: "Communicate with dune using rpc"
3+
description: "Library to connect and control a running dune instance"
4+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
5+
authors: ["Jane Street Group, LLC <[email protected]>"]
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.5"}
12+
"csexp"
13+
"ordering"
14+
"dyn"
15+
"xdg"
16+
"stdune" {= version}
17+
"pp" {>= "1.1.0"}
18+
"odoc" {with-doc}
19+
]
20+
dev-repo: "git+https://github.com/ocaml/dune.git"
21+
build: [
22+
["dune" "subst"] {dev}
23+
["rm" "-rf" "vendor/csexp"]
24+
["rm" "-rf" "vendor/pp"]
25+
[
26+
"dune"
27+
"build"
28+
"-p"
29+
name
30+
"-j"
31+
jobs
32+
"@install"
33+
"@doc" {with-doc}
34+
]
35+
]
36+
url {
37+
src: "https://github.com/ocaml/dune/releases/download/3.7.0/dune-3.7.0.tbz"
38+
checksum: [
39+
"sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8"
40+
"sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295"
41+
]
42+
}
43+
x-commit-hash: "d3d628f2eda2278bd2df6e37452d8693f367fcfd"

0 commit comments

Comments
 (0)