From 9cbf5bc311fd0220a9b43adc2669daa226eee75c Mon Sep 17 00:00:00 2001 From: "Gregory L. Lee" Date: Fri, 14 Mar 2014 11:06:23 -0700 Subject: [PATCH] added workaround to libtool bug + config using non-spack launchmon --- lib/spack/spack/packages/stat.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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")