Fix SPACK-21: stage names are too long
Stage names now hash dependencies like install prefixes.
This commit is contained in:
@@ -10,26 +10,18 @@ class Stat(Package):
|
||||
depends_on('libdwarf')
|
||||
depends_on('dyninst')
|
||||
depends_on('graphlib')
|
||||
#depends_on('launchmon') # TODO: when added, path gets too long (Jira SPACK-21)!
|
||||
depends_on('launchmon')
|
||||
depends_on('mrnet')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure(
|
||||
"--enable-gui",
|
||||
"--prefix=%s" % prefix,
|
||||
|
||||
# TODO: this uses the launchmon package, but path is
|
||||
# too long (see depends_on above) (Jira SPACK-21)
|
||||
# "--with-launchmon=%s" % spec['launchmon'].prefix,
|
||||
|
||||
# TODO: launchmon line above is the proper one once
|
||||
# SPACK-21 is fixed
|
||||
"--with-launchmon=/collab/usr/global/tools/launchmon/chaos_5_x86_64_ib/launchmon-1.0.0-20140312",
|
||||
|
||||
"--with-mrnet=%s" % spec['mrnet'].prefix,
|
||||
"--with-graphlib=%s" % spec['graphlib'].prefix,
|
||||
"--with-launchmon=%s" % spec['launchmon'].prefix,
|
||||
"--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)
|
||||
|
||||
# TODO: remove once SPACK-19 is fixed
|
||||
import shutil
|
||||
|
Reference in New Issue
Block a user