Skip to content

Conversation

Sudha247
Copy link

@Sudha247 Sudha247 commented Jul 17, 2025

I'm using this PR to track the TODO items in ocaml#3132

TODO

  • Use a pinned version of dune dev preview so the ocaml.org build does not break unexpectedly. Rationale: we sometimes needs to update on short notice and can't afford to have a broken build
  • How do we do power clean? That is getting back to point were dune pkg needs to be initialised. Rationale: this is needed to measure first build time without using docker
  • ocaml.org build is using ~/.cache/ocamlorg is dune pkg also using ~/.cache/dune. What's the impact of deleting it?
  • Create a GitHub action that uses daily dune preview and current version of ocaml.org build as a regression/blackbox test. But let's not do that with the production version

@Sudha247
Copy link
Author

How do we do power clean? That is getting back to point were dune pkg needs to be initialised. Rationale: this is needed to measure first build time without using docker

This is a matter of removing the Dune binary from ~/.local/bin and performing all the actions again. Initialising dune pkg isn't all that time consuming, but installed and building packages in the first instance is.

@Sudha247
Copy link
Author

I've now verified that we can build with dune via opam, after removing the dune.lock/ directories in the root and in playground/.

@sabine sabine merged commit 2365158 into sabine:dune_pkg Jul 23, 2025
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