Skip to content

Fix odoc compile transitive lib dep#9955

Merged
rgrinberg merged 2 commits intoocaml:mainfrom
jonludlam:fix-odoc-compile-transitive-lib-dep
Feb 9, 2024
Merged

Fix odoc compile transitive lib dep#9955
rgrinberg merged 2 commits intoocaml:mainfrom
jonludlam:fix-odoc-compile-transitive-lib-dep

Conversation

@jonludlam
Copy link
Copy Markdown
Member

@jonludlam jonludlam commented Feb 9, 2024

This is only a problem in the doc-new target.

@jonludlam jonludlam force-pushed the fix-odoc-compile-transitive-lib-dep branch from 08d6f1d to a14b410 Compare February 9, 2024 15:56
Signed-off-by: Jon Ludlam <jon@recoil.org>
Some transitive deps were missed in the compile phase of the doc-new target.

Signed-off-by: Jon Ludlam <jon@recoil.org>
@rgrinberg rgrinberg force-pushed the fix-odoc-compile-transitive-lib-dep branch from a14b410 to 323f7fa Compare February 9, 2024 19:48
@rgrinberg rgrinberg added this to the 3.14.0 milestone Feb 9, 2024
@rgrinberg rgrinberg merged commit 8614920 into ocaml:main Feb 9, 2024
@rgrinberg rgrinberg added the odoc Issues and PRs related to documentation generation with odoc label Feb 9, 2024
@emillon emillon mentioned this pull request Mar 4, 2024
15 tasks
Leonidas-from-XIV added a commit that referenced this pull request Mar 5, 2024
* doc-new: Add test for transitive deps during compile

Signed-off-by: Jon Ludlam <jon@recoil.org>

* doc-new: Fix missing dependencies during odoc compile

Some transitive deps were missed in the compile phase of the doc-new target.

Signed-off-by: Jon Ludlam <jon@recoil.org>

---------

Signed-off-by: Jon Ludlam <jon@recoil.org>
Co-authored-by: Jon Ludlam <jon@recoil.org>
Leonidas-from-XIV added a commit to Leonidas-from-XIV/opam-repository that referenced this pull request Mar 11, 2024
CHANGES:

### Fixed

- When a directory is changed to a file, correctly remove it in subsequent
  `dune build` runs. (ocaml/dune#9327, fix ocaml/dune#6575, @emillon)

- Fix a problem with the doc-new target where transitive dependencies were
  missed during compile. This leads to missing expansions in the output docs.
  (ocaml/dune#9955, @jonludlam)

- coq: fix performance regression in coqdep unescaping (ocaml/dune#10115, fixes ocaml/dune#10088,
  @ejgallego, thanks to Dan Christensen for the report)

- coq: memoize coqdep parsing, this will reduce build times for Coq users, in
  particular for those with many .v files (ocaml/dune#10116, @ejgallego, see also ocaml/dune#10088)

- on Windows, use an unicode-aware version of `CreateProcess` to avoid crashes
  when paths contains non-ascii characters. (ocaml/dune#10212, fixes ocaml/dune#10180, @emillon)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

odoc Issues and PRs related to documentation generation with odoc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants