Merkle trees and build systems
Merkle trees and build systems
Posted May 28, 2020 14:37 UTC (Thu) by ScienceMan (subscriber, #122508)Parent article: Merkle trees and build systems
"Spack models the dependencies of packages as a directed acyclic graph (DAG). The spack find -d command shows the tree representation of that graph. We can also use the spack graph command to view the entire DAG as a graph.
[Example]
$ spack graph hdf5+hl+mpi ^mpich
o hdf5
|\
| o mpich
| |\
| | |\
| | | |\
| | o | | libxml2
| |/| | |
|/|/| | |
| | |\ \ \
o | | | | | zlib
/ / / / /
| o | | | xz
| / / /
| | o | libpciaccess
| |/| |
|/| | |
| | |\ \
| | o | | util-macros
| | / /
| | | o findutils
| | |/|
| | | |\
| | | | |\
| | | | | |\
| | | o | | | texinfo
| | | | | o | automake
| | | | |/| |
| | | |/| | |
| | | | | |/
| | | | | o autoconf
| | | | |/|
| | | |/|/
| | | o | perl
| | | o | gdbm
| | | o | readline
| | | o | ncurses
| |_|/ /
|/| | |
o | | | pkgconf
/ / /
| o | libtool
| |/
| o m4
| o libsigsegv
|
o libiconv
"
Link:
https://spack-tutorial.readthedocs.io/en/latest/tutorial_...
