launchmon dependency added as comment, need Jira SPACK-20 fixed

This commit is contained in:
Gregory L. Lee 2014-03-14 12:54:28 -07:00
parent 7b28ee2cd2
commit f0f0c99c55

View File

@ -27,15 +27,21 @@ class Stat(Package):
depends_on('libdwarf')
depends_on('dyninst')
depends_on('graphlib')
#depends_on('launchmon') # TODO: when added, path gets too long (Jira SPACK-20)!
depends_on('mrnet')
def install(self, spec, prefix):
my_mrnet = spec['mrnet']
my_graphlib = spec['graphlib']
#my_launchmon = spec['launchmon']
my_dyninst = spec['dyninst']
my_libdwarf = spec['libdwarf']
# FIXME: Modify the configure line to suit your build system here.
# TODO: this uses the launchmon package, but path is too long (see depends_on above) (Jira SPACK-20)
#configure("--enable-gui", "--prefix=%s" %prefix, "--with-launchmon=%s" %my_launchmon.prefix, "--with-mrnet=%s" %my_mrnet.prefix, "--with-graphlib=%s" %my_graphlib.prefix, "--with-stackwalker=%s" %my_dyninst.prefix, "--with-libdwarf=%s" %my_libdwarf.prefix)
# TODO: the configure line above is the proper one once Jira SPACK-20 is fixed
configure("--enable-gui", "--prefix=%s" %prefix, "--with-launchmon=/collab/usr/global/tools/launchmon/chaos_5_x86_64_ib/launchmon-1.0.0-20140312", "--with-mrnet=%s" %my_mrnet.prefix, "--with-graphlib=%s" %my_graphlib.prefix, "--with-stackwalker=%s" %my_dyninst.prefix, "--with-libdwarf=%s" %my_libdwarf.prefix)
# TODO: remove once Jira SPACK-19 is fixed