Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg: don't expand deps of restricting deps
Previously dune would expand dependencies of packages that are only ever marked as conflicting with packages in the solution. This led to the expansion of far more packages that necessary. Expanding a package requires reading an opam file and so is a relatively expensive operation. For packages that only depend on the compiler (ocaml-base-compiler), this reduces the number of expanded packages from 8376 to 1841 at the time of writing. Signed-off-by: Stephen Sherratt <[email protected]>
- Loading branch information