summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory L. Lee <lee218@llnl.gov>2014-03-14 11:06:23 -0700
committerGregory L. Lee <lee218@llnl.gov>2014-03-14 11:06:23 -0700
commit9cbf5bc311fd0220a9b43adc2669daa226eee75c (patch)
treebc9aac0b6b5332655b662fd5a71a692af9fdd385
parentb104c3efced60ce7bbe92b73c5be66f699e7d85f (diff)
downloadspack-9cbf5bc311fd0220a9b43adc2669daa226eee75c.tar.gz
spack-9cbf5bc311fd0220a9b43adc2669daa226eee75c.tar.bz2
spack-9cbf5bc311fd0220a9b43adc2669daa226eee75c.tar.xz
spack-9cbf5bc311fd0220a9b43adc2669daa226eee75c.zip
added workaround to libtool bug + config using non-spack launchmon
-rw-r--r--lib/spack/spack/packages/stat.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/spack/spack/packages/stat.py b/lib/spack/spack/packages/stat.py
index 89ade201d3..c2deecd2f4 100644
--- a/lib/spack/spack/packages/stat.py
+++ b/lib/spack/spack/packages/stat.py
@@ -31,10 +31,17 @@ class Stat(Package):
def install(self, spec, prefix):
my_mrnet = spec['mrnet']
+ my_graphlib = spec['graphlib']
+ my_dyninst = spec['dyninst']
+ my_libdwarf = spec['libdwarf']
# FIXME: Modify the configure line to suit your build system here.
- 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)
+ 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
+ import shutil
+ shutil.copy2('/usr/bin/libtool', 'libtool')
+
# FIXME: Add logic to build and install here
make(parallel=False)
make("install")