Repository activity
40458 results across all weeks
Enable `with-dev-setup` and `with-doc` by default.
Starting at version 3.26, dune pkg lock now enables with-dev-setup and with-doc by default. Their behavior have been changed to be non-transitive, meaning that only local packages get the solver variable, not the locked one - this is a change of behavior but the previous one was arguably a bug. Specifying eg. (with-doc false) disables this, and (with-doc tru…
mefyl (@mefyl)Expose materialized theory dependencies to actions
Dune 3.25 package isolation exposed two problems for Rocq projects using (deps (package ...)):
Rodolphe Lepigre (@rlepigre-skylabs-ai)Generate the META and dune-package files in the package directory
Puneeth Chaganti (@punchagan)Internal error "gen_rules returned a set of directory targets that doesn't match" on a rocq.theory with enabled_if false
A rocq.theory whose (enabled_if ...) evaluates to false is skipped: it is
Pwilke (@pwilke)Let a rule depend on the transitive workspace `.vo` imports of a Rocq file
We run Print Assumptions from a standalone .v file to check that theorems use only the axioms we expect. The report is a Dune rule target. One rule compares it with an expected file, and other rules consume it. A theory module’s .expected file already handles the compile-output comparison. Here we also need the report as a target.
zitronoMelange: a library with `private_modules` hides its `.cmj` files from consumers in the workspace
A Melange consumer of a workspace library gets the same JavaScript whether the library has (private_modules ...) or not: direct calls into the library, with its arities and inlining data.
David Sancho (@davesnx)Preserve the inherited pkg-config environment on macOS
When Homebrew adds a pkg-config search path, configurator passes an explicit
aikhanjumProject no longer builds: Couldn't solve the package dependency formula
dune build builds my project, as it did before.
Thomas Leonard (@talex5)Regression around using Rocq in cram test in 3.25.0
We used to be able to use Rocq theories in cram tests thanks to the unique installation layout in _build/install/default. This wasn't perfect (see https://github.com/ocaml/dune/issues/6015) and initially required jumping through a few hoops (manually exporting ROCQPATH), which got simpler with relocatable rocq since the installation layout allowed it to loca…
Rodolphe Lepigre (@rlepigre-skylabs-ai)Sanitize workspace and locked executables out of rules `PATH`.
Remove any entry pointing to the build tree from rules PATH.
mefyl (@mefyl)Support for `odoc3` using `dune build @doc`
With @jonludlam, @panglesd, @Tim-ats-d, @art-w and me, we are currently developing the rules to enable odoc3 to be invoked (and to support its new features) via the command dune build @doc, which will allow us to deprecate dune build @doc-new (which currently invokes odoc 2). Here is the roadmap we are currently following:
Xavier Van de Woestyne (@xvw)Support for the `--theme-uri` environment parameter for `odoc`.
The odoc markup is lightweight overall, making it easily customisable using CSS alone. However, the lack of support for the --theme-uri variable (supported by odoc) means that you have to go outside dune to provide your own style sheet, making customisation of odoc non-trivial.
Xavier Van de Woestyne (@xvw)[3.25.1] release
Release branch for https://github.com/ocaml/dune/issues/17033
Shon Feder (@shonfeder)[pkg] Passing `-j` to `dune build` causes the compiler package to be rebuilt
Stephen Sherratt (@gridbugs)`dune build -p` should ignore workspaces
Shon Feder (@shonfeder)build: update Nix flakes
Update the Nix flake inputs.
Antonio Nuno Monteiro (@anmonteiro)build: update OxCaml release environments to 5.4
Update both Nix and opam CI to OxCaml 5.4.0-ox9, sharing compiler/repository pins and the upstream odoc port from ocaml/odoc#1520. Update the affected integration expectations and keep the OxCaml patch guards enabled. Formatting and unrelated CI cleanups remain separate follow-ups.
Ali Caglayan (@Alizter)chore: disable changlog entry check for rgrinberg
This is constantly red and making it difficult to see the CI. I am disabling the action in this specific case.
Ali Caglayan (@Alizter)chore: fix formatting in pp_spec_rules.ml
Apply OCamlFormat to the unstaged_ppx definition to fix the Format job on main. The change is whitespace-only.
Ali Caglayan (@Alizter)ci: install OCamlFormat in opam test jobs
Install the version pinned in .ocamlformat before the opam test suite runs on Ubuntu, macOS, and Windows (MinGW and MSVC). Check that ocamlformat --version works in the same opam switch as the tests. Build-only jobs are unchanged.
Rudi Grinberg (@rgrinberg)