Skip to content

dep_rules: don't run (transitive) ocamldep on single module buildables#12555

Merged
anmonteiro merged 2 commits intoocaml:mainfrom
anmonteiro:anmonteiro/dont-run-ocamldep-transitive-on-single-module-buildables
Oct 13, 2025
Merged

dep_rules: don't run (transitive) ocamldep on single module buildables#12555
anmonteiro merged 2 commits intoocaml:mainfrom
anmonteiro:anmonteiro/dont-run-ocamldep-transitive-on-single-module-buildables

Conversation

@anmonteiro
Copy link
Copy Markdown
Collaborator

same as #3847, for .all-deps

Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
@anmonteiro anmonteiro requested a review from rgrinberg October 12, 2025 07:44
@anmonteiro anmonteiro marked this pull request as ready for review October 12, 2025 07:44
Copy link
Copy Markdown
Member

@rgrinberg rgrinberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A further improvement would be not to generate the rule for such singleton modules

@anmonteiro
Copy link
Copy Markdown
Collaborator Author

I'm not sure it's being generated now?

@anmonteiro anmonteiro enabled auto-merge (squash) October 13, 2025 03:34
@anmonteiro anmonteiro merged commit 641e260 into ocaml:main Oct 13, 2025
9 of 11 checks passed
@anmonteiro anmonteiro deleted the anmonteiro/dont-run-ocamldep-transitive-on-single-module-buildables branch October 13, 2025 07:31
Sudha247 pushed a commit to Sudha247/dune that referenced this pull request Oct 13, 2025
…les (ocaml#12555)

Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
davesnx added a commit to davesnx/dune that referenced this pull request Oct 14, 2025
* 'main' of github.com:/ocaml/dune: (147 commits)
  cram test: test only parameter flags in merlin generation
  fix(oxcaml): import eta-expansion changes from opam-repo (ocaml#12563)
  address review comments
  Mask the path to the stdlib
  fix(oxcaml): generate merlin config for library parameters
  fix(melange + include_qualified): track correct `.cmj` dependencies in emit (ocaml#12531)
  refactor: remove some unused code in [Path] (ocaml#12558)
  dep_rules: don't run (transitive) `ocamldep` on single module buildables (ocaml#12555)
  fix(pkg): ignore project settings for building packages
  test(pkg): reproduce ocaml#12131
  melange: add a test for module cycle checks (ocaml#12554)
  chore: lint check for new changes entries (ocaml#12553)
  feature(cram): allow for conflict detection (ocaml#12538)
  ci: update for ocaml 5.4 release (ocaml#12552)
  chore(script): generate changelog from structure (ocaml#12516)
  Reuse dependencies between project and tools (ocaml#12526)
  Introduce Io.overwrite_file
  test: fix dune install requiring a mandir
  Enable package management for more tests
  Add a `dune tools env` command to add dev tools to PATH (ocaml#12521)
  ...
MisterDA pushed a commit to MisterDA/dune that referenced this pull request Nov 13, 2025
…les (ocaml#12555)

Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants