diff options
author | Gregory L. Lee <lee218@surface86.llnl.gov> | 2015-08-25 11:48:12 -0700 |
---|---|---|
committer | Gregory L. Lee <lee218@surface86.llnl.gov> | 2015-08-25 11:48:12 -0700 |
commit | 2c3e7a6f87ef5f8b5ba154b5a8b7da7a119f4a67 (patch) | |
tree | e267f25b5c72bd5cf8e425020f5c03c46d67a089 | |
parent | 1c9c5a385d4bb24c081a4297daf5dcad08a3c706 (diff) | |
download | spack-2c3e7a6f87ef5f8b5ba154b5a8b7da7a119f4a67.tar.gz spack-2c3e7a6f87ef5f8b5ba154b5a8b7da7a119f4a67.tar.bz2 spack-2c3e7a6f87ef5f8b5ba154b5a8b7da7a119f4a67.tar.xz spack-2c3e7a6f87ef5f8b5ba154b5a8b7da7a119f4a67.zip |
added graphviz dependency and dysect variant to STAT
-rw-r--r-- | var/spack/packages/stat/package.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/var/spack/packages/stat/package.py b/var/spack/packages/stat/package.py index c40d65ae78..5d81e62731 100644 --- a/var/spack/packages/stat/package.py +++ b/var/spack/packages/stat/package.py @@ -9,17 +9,20 @@ class Stat(Package): version('2.1.0', 'ece26beaf057aa9134d62adcdda1ba91') version('2.0.0', 'c7494210b0ba26b577171b92838e1a9b') + variant('dysect', default=False, description="enable DySectAPI") + depends_on('libelf') depends_on('libdwarf') depends_on('dyninst') depends_on('graphlib') + depends_on('graphviz') depends_on('launchmon') depends_on('mrnet') patch('configure_mpicxx.patch', when='@2.1.0') def install(self, spec, prefix): - configure( + configure_args = [ "--enable-gui", "--prefix=%s" % prefix, "--disable-examples", # Examples require MPI: avoid this dependency. @@ -27,7 +30,11 @@ class Stat(Package): "--with-mrnet=%s" % spec['mrnet'].prefix, "--with-graphlib=%s" % spec['graphlib'].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("install") |