- 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(-)