dsynth - Add a pkgi depth calculation

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 23 August 2019 04:22 UTC

- Calculate the largest tree-depth of packages that depend on PKG and use it in the sort as weighting to try to prioritize building PKG.

The intent is to try to knock out these deep chains as quickly as possible so as not to get stuck on a linear chain of dependencies later on in the build.

88c24d72b7 dsynth - Add a pkgi depth calculation
usr.bin/dsynth/build.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++---
usr.bin/dsynth/dsynth.h | 1 +
2 files changed, 47 insertions(+), 3 deletions(-)

Upstream: gitweb.dragonflybsd.org

  • Share