diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/stat/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/stat/package.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/stat/package.py b/var/spack/repos/builtin/packages/stat/package.py index a39228f93b..6455acee3f 100644 --- a/var/spack/repos/builtin/packages/stat/package.py +++ b/var/spack/repos/builtin/packages/stat/package.py @@ -29,8 +29,10 @@ class Stat(AutotoolsPackage): """Library to create, manipulate, and export graphs Graphlib.""" homepage = "http://paradyn.org/STAT/STAT.html" - url = "https://github.com/lee218llnl/stat/archive/v2.0.0.tar.gz" + url = "https://github.com/LLNL/STAT/archive/v2.0.0.tar.gz" + git = "https://github.com/llnl/stat.git" + version('develop', branch='develop') version('4.0.0', 'b357160662ced251bc55cb1b884c3407', url='https://github.com/LLNL/STAT/releases/download/v4.0.0/stat-4.0.0.tar.gz') version('3.0.1', 'dac6f23c3639a0b21f923dc6219ba385', @@ -44,13 +46,14 @@ class Stat(AutotoolsPackage): # TODO: dysect requires Dyninst patch for version 3.0.0b variant('dysect', default=False, description="enable DySectAPI") variant('examples', default=False, description="enable examples") + variant('fgfs', default=True, description="enable file broadcasting") depends_on('autoconf', type='build') depends_on('automake', type='build') depends_on('libtool', type='build') - depends_on('libdwarf') depends_on('dyninst', when='~dysect') depends_on('dyninst@8.2.1+stat_dysect', when='+dysect') + depends_on('fast-global-file-status', when='+fgfs') depends_on('graphlib@2.0.0', when='@2.0.0:2.2.0') depends_on('graphlib@3.0.0', when='@3:') depends_on('graphviz', type=('build', 'link', 'run')) @@ -58,6 +61,7 @@ class Stat(AutotoolsPackage): depends_on('mrnet') depends_on('python@:2.8') depends_on('py-pygtk', type=('build', 'run')) + depends_on('py-enum34', type=('run')) depends_on('swig') depends_on('mpi', when='+examples') @@ -70,9 +74,11 @@ class Stat(AutotoolsPackage): "--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-python=%s" % spec['python'].command.path, ] + if '+fgfs' in spec: + args.append('--with-fgfs=%s' + % spec['fast-global-file-status'].prefix) if '+dysect' in spec: args.append('--enable-dysectapi') if '~examples' in spec: |