added graphviz dependency and dysect variant to STAT
This commit is contained in:
parent
1c9c5a385d
commit
2c3e7a6f87
@ -9,17 +9,20 @@ class Stat(Package):
|
|||||||
version('2.1.0', 'ece26beaf057aa9134d62adcdda1ba91')
|
version('2.1.0', 'ece26beaf057aa9134d62adcdda1ba91')
|
||||||
version('2.0.0', 'c7494210b0ba26b577171b92838e1a9b')
|
version('2.0.0', 'c7494210b0ba26b577171b92838e1a9b')
|
||||||
|
|
||||||
|
variant('dysect', default=False, description="enable DySectAPI")
|
||||||
|
|
||||||
depends_on('libelf')
|
depends_on('libelf')
|
||||||
depends_on('libdwarf')
|
depends_on('libdwarf')
|
||||||
depends_on('dyninst')
|
depends_on('dyninst')
|
||||||
depends_on('graphlib')
|
depends_on('graphlib')
|
||||||
|
depends_on('graphviz')
|
||||||
depends_on('launchmon')
|
depends_on('launchmon')
|
||||||
depends_on('mrnet')
|
depends_on('mrnet')
|
||||||
|
|
||||||
patch('configure_mpicxx.patch', when='@2.1.0')
|
patch('configure_mpicxx.patch', when='@2.1.0')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure(
|
configure_args = [
|
||||||
"--enable-gui",
|
"--enable-gui",
|
||||||
"--prefix=%s" % prefix,
|
"--prefix=%s" % prefix,
|
||||||
"--disable-examples", # Examples require MPI: avoid this dependency.
|
"--disable-examples", # Examples require MPI: avoid this dependency.
|
||||||
@ -27,7 +30,11 @@ def install(self, spec, prefix):
|
|||||||
"--with-mrnet=%s" % spec['mrnet'].prefix,
|
"--with-mrnet=%s" % spec['mrnet'].prefix,
|
||||||
"--with-graphlib=%s" % spec['graphlib'].prefix,
|
"--with-graphlib=%s" % spec['graphlib'].prefix,
|
||||||
"--with-stackwalker=%s" % spec['dyninst'].prefix,
|
"--with-stackwalker=%s" % spec['dyninst'].prefix,
|
||||||
"--with-libdwarf=%s" % spec['libdwarf'].prefix)
|
"--with-libdwarf=%s" % spec['libdwarf'].prefix
|
||||||
|
]
|
||||||
|
if '+dysect' in spec:
|
||||||
|
configure_args.append('--enable-dysectapi')
|
||||||
|
configure(*configure_args)
|
||||||
|
|
||||||
make(parallel=False)
|
make(parallel=False)
|
||||||
make("install")
|
make("install")
|
||||||
|
Loading…
Reference in New Issue
Block a user