Boost logo

Boost :

From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2003-09-05 16:39:33

I wrote a couple of scripts to extract some numbers from the dependency files
to be found in the .deps dirs. See attached.

$ ./ build/src/insets/ExternalTemplates.o
ExternalTemplate.o depends on 151 system files and 31 local files

If you pass all the .o files in the build, dumping the output to file,
you can then run on this output. It does nothing more than add up
all the system file dependencies into one value. Ditto for the local file

$ ./ stats
Total system dependencies: 123583
Total local dependencies: 56886

I downloaded a copy of the cvs tree from 3 September and ran these scripts on
the build dirs of it and of current cvs. Total local dependencies reduced
from 63 to 57 thousand files.

Looks like I did something useful after all ;-)

$ find devel/build/src -name "*.o" | xargs scripts/ > depstats1
$ sort depstats1 > depstats1_sorted
$ find sep_03/build/src -name "*.o" | xargs scripts/ > depstats2
$ sort depstats2 > depstats2_sorted
$ wc -l depstats1_sorted
    754 depstats1_sorted
$ wc -l depstats2_sorted
    754 depstats2_sorted
$ scripts/ depstats1_sorted
Total system dependencies: 123583
Total local dependencies: 56886
$ scripts/ depstats2_sorted
Total system dependencies: 125081
Total local dependencies: 63382

Boost list run by bdawes at, gregod at, cpdaniel at, john at