[new release] dune (15 packages) (3.14.0) #25240
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fast, portable, and opinionated build system
CHANGES:
Added
Introduce a
(dynamic_include ..)
stanza. This is like(include foo)
butallows
foo
to be the target of a rule. Currently, there are somelimitations on the stanzas that can be generated. For example, public
executables, libraries are currently forbidden. (feature: dynamic_include stanza dune#9913, @rgrinberg)
Introduce
$ dune promotion list
to print the list of available promotions.(Add
dune promotion list
to display the current changes files. dune#9705, @moyodiallo)If Sherlodoc is installed, add a search bar in generated HTML docs (odoc: sherlodoc integration dune#9772,
@EmileTrotignon)
Add
only_sources
field tocopy_files
stanza (Addonly_sources
field tocopy_files
stanza dune#9827, fixes copy_files glob should operate on source files (not target files inside _build folder) dune#9709,@jchavarri)
The
(foreign_library)
stanza now supports the(enabled_if)
field. ((foreign_library): support (enabled_if) dune#9914,@nojb)
Fixed
Fix
$ dune install -p
incorrectly recognizing packages that are supposed tobe filtered (refactor: move stanza/package evaluation from Only_packages dune#9879, fixes dune install -p <pkg> requires every packages from the project to be installed, not just <pkg> dune#4814, @rgrinberg)
subst: correctly handle opam files in opam/ subdirectory (fix(subst): subst for opam files in opam/ subdir dune#9895, fixes dune subst and opam/ subfolder dune#9862,
@emillon)
Odoc private rules are not set up if a library is not available due to
enabled_if
(fix: don't add odoc private rules in unavailable libs dune#9897, @rgrinberg and @jchavarri)Changed
When dune language 3.14 is enabled, resolve the binary in
(run %{bin:..} ..)
from where the binary is built. (fix: use original paths in (run ..) dune#9708, @rgrinberg)boot: remove single-command bootstrap. This was an alternative bootstrap
strategy that was used in certain conditions. Removal makes the bootstrap a
bit slower on Linux when only a single core is available, but bootstrap is
now reproducible in all cases. (boot: remove single-command bootstrap dune#9735, fixes bootstrap is not reproducible wrt -j value dune#9507, @emillon)