-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[new release] dune-build-info, dune, dune-configurator, dune-action-plugin, dune-private-libs and dune-glob (2.7.0) #17005
Conversation
Commit: fd24ec4 A pull request by opam-seasoned @rgrinberg. ☀️ All lint checks passed fd24ec4
☀️ Installability check (+6)
|
I believe ocaml/dune#3585 should've been merged before releasing this version. It seems a bit inconsistent to me if dune 2.6.2 supports OCaml 4.12 but not dune 2.7.0 |
oh nevermind, the commit has been cherry-picked but the PR is still there for some reason |
@voodoos notes that there is a regression:
|
We decided to postpone that new check of the |
…lugin, dune-private-libs and dune-glob (2.7.0) CHANGES: - Write intermediate files in a `.mdx` folder for each `mdx` stanza to prevent the corresponding actions to be executed as part of the `@all` alias (ocaml/dune#3659, @NathanReb) - Read Coq flags from `env` (ocaml/dune#3547 , fixes ocaml/dune#3486, @gares) - Add instrumentation framework to toggle instrumentation by `bisect_ppx`, `landmarks`, etc, via dune-workspace and/or the command-line. (ocaml/dune#3404, ocaml/dune#3526 @stephanieyou, @nojb) - Formatting of dune files is now done in the executing dune process instead of in a separate process. (ocaml/dune#3536, @nojb) - Add a `--debug-artifact-substution` flag to help debug problem with version not being captured by `dune-build-info` (ocaml/dune#3589, @jeremiedimino) - Allow the use of the `context_name` variable in the `enabled_if` fields of executable(s) and install stanzas. (ocaml/dune#3568, fixes ocaml/dune#3566, @voodoos) - Fix compatibility with OCaml 4.12.0 when compiling empty archives; no .a file is generated. (ocaml/dune#3576, @dra27) - `$ dune utop` no longer tries to load optional libraries that are unavailable (ocaml/dune#3612, fixes ocaml/dune#3188, @anuragsoni) - Fix dune-build-info on 4.10.0+flambda (ocaml/dune#3599, @emillon, @jeremiedimino). - Allow multiple libraries with `inline_tests` to be defined in the same directory (ocaml/dune#3621, @rgrinberg) - Run exit hooks in jsoo separate compilation mode (ocaml/dune#3626, fixes ocaml/dune#3622, @rgrinberg) - Add (alias ...), (mode ...) fields to (copy_fields ...) stanza (ocaml/dune#3631, @nojb) - (copy_files ...) now supports copying files from outside the workspace using absolute file names (ocaml/dune#3639, @nojb) - Dune does not use `ocamlc` as an intermediary to call C compiler anymore. Configuration flags `ocamlc_cflags` and `ocamlc_cppflags` are always prepended to the compiler arguments. (ocaml/dune#3565, fixes ocaml/dune#3346, @voodoos) - Revert the build optimization in ocaml/dune#2268. This optimization slows down building individual executables when they're part of an `executables` stanza group (ocaml/dune#3644, @rgrinberg) - Use `{dev}` rather than `{pinned}` in the generated `.opam` file. (ocaml/dune#3647, @kit-ty-kate) - Insert correct extension name when editing `dune-project` files. Previously, dune would just insert the stanza name. (ocaml/dune#3649, fixes ocaml/dune#3624, @rgrinberg) - Fix crash when evaluating an `mdx` stanza that depends on unavailable packages. (ocaml/dune#3650, @craigfe) - Fix typo in `cache-check-probablity` field in dune config files. This field now requires 2.7 as it wasn't usable before this version. (ocaml/dune#3652, @edwintorok) - Add `"odoc" {with-doc}` to the dependencies in the generated `.opam` files. (ocaml/dune#3667, @kit-ty-kate) - Do not allow user actions to capture dune's stdin (ocaml/dune#3677, fixes ocaml/dune#3672, @rgrinberg) - `(subdir ...)` stanzas can now appear in dune files used via `(include ...)`. (ocaml/dune#3676, @nojb)
545d8e0
to
fd24ec4
Compare
I've glanced over the failures, and I don't see anything noteworthy. |
Also lgtm, just waiting for CI run to pass in a few hours |
Looks good. Thanks! |
Embed build informations inside executable
CHANGES:
Write intermediate files in a
.mdx
folder for eachmdx
stanzato prevent the corresponding actions to be executed as part of the
@all
alias (Write mdx files to .mdx dir to avoid running mdx as part of @all dune#3659, @NathanReb)
Read Coq flags from
env
([coq] pick flags from profile dune#3547 , fixes [wish] setting coq.theory.flags from a profile dune#3486, @gares)Allow bisect_ppx to be enabled/disabled via dune-workspace. (Stop passing external lib deps mode dune#3404,
@stephanieyou)
Formatting of dune files is now done in the executing dune process instead of
in a separate process. (Format dune files in core dune#3536, @nojb)
Add a
--debug-artifact-substution
flag to help debug problem withversion not being captured by
dune-build-info
(Add a flag --debug-artifact-substitution to help debug problems related to dune-build-info dune#3589,@jeremiedimino)
Allow the use of the
context_name
variable in theenabled_if
fields ofexecutable(s) and install stanzas. (Allow
context_name
in enabled_if of exectuable(s) and install stanzas dune#3568, fixes Allowcontext_name
inenable_if
dune#3566, @voodoos)Fix compatibility with OCaml 4.12.0 when compiling empty archives; no .a file
is generated. (In OCaml 4.12.0, empty archives no longer generate .a files dune#3576, @dra27)
$ dune utop
no longer tries to load optional libraries that are unavailable(filter unavailable optional libs for utop dune#3612, fixes dune utop fails with optional packages dune#3188, @anuragsoni)
Fix dune-build-info on 4.10.0+flambda (Protect link-time code generation placeholders with Sys.opaque_identity dune#3599, @emillon, @jeremiedimino).
Allow multiple libraries with
inline_tests
to be defined in the samedirectory (Allow multiple inline tests in a directory dune#3621, @rgrinberg)
Run exit hooks in jsoo separate compilation mode (Fix separate compilation of jsoo dune#3626, fixes Discrepancy between jsoo whole program compilation and separate compilation. dune#3622,
@rgrinberg)
Add (alias ...), (mode ...) fields to (copy_fields ...) stanza (Add (alias ...), (mode ...) fields to (copy_files ...) stanza dune#3631, @nojb)
(copy_files ...) now supports copying files from outside the workspace using
absolute file names ((copy_files ...): support external paths dune#3639, @nojb)
Dune does not use
ocamlc
as an intermediary to call C compiler anymore.Configuration flags
ocamlc_cflags
andocamlc_cppflags
are always prependedto the compiler arguments. (Directly call the C compiler dune#3565, fixes Change the way we call the C compiler dune#3346, @voodoos)
Revert the build optimization in Build .cmx/.o files more eagerly for executables dune#2268. This optimization slows down building
individual executables when they're part of an
executables
stanza group(Revert optimization introduced in #2268 dune#3644, @rgrinberg)
Use
{dev}
rather than{pinned}
in the generated.opam
file. (Opam file generation: Use {dev} instead of {pinned} when calling dune subst dune#3647,@kit-ty-kate)
Insert correct extension name when editing
dune-project
files. Previously,dune would just insert the stanza name. (Fix #3624 dune#3649, fixes Dune appends
(using coq.theory 0.2)
instead of(using coq 0.2)
dune#3624, @rgrinberg)Fix crash when evaluating an
mdx
stanza that depends on unavailablepackages. (Fix evaluate-time error with MDX stanza and unavailable packages dune#3650, @craigfe)
Fix typo in
cache-check-probablity
field in dune config files. This fieldnow requires 2.7 as it wasn't usable before this version. (Fix typo in
(cache-check-probablity)
dune#3652, @edwintorok)Add
"odoc" {with-doc}
to the dependencies in the generated.opam
files.(opam file generation: Add odoc {with-doc} to the dependencies dune#3667, @kit-ty-kate)
Do not allow user actions to capture dune's stdin (Launch process without stdin by default dune#3677, fixes User actions are connected to dune's stdin dune#3672,
@rgrinberg)
(subdir ...)
stanzas can now appear in dune files used via(include ...)
.(Allow (subdir ...) in dune files used via (include ...) dune#3676, @nojb)