Skip to content
Snippets Groups Projects
Commit 74ec74d7 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Integrate & clean up packages from LLNL hackathon.

parent 61fc2317
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,9 @@ def mirror(parser, args): ...@@ -84,6 +84,9 @@ def mirror(parser, args):
shutil.move(stage.archive_file, final_dst) shutil.move(stage.archive_file, final_dst)
tty.msg("Added %s to mirror" % final_dst) tty.msg("Added %s to mirror" % final_dst)
except Exception, e:
tty.warn("Error while fetching %s. Skipping." % url, e.message)
finally: finally:
stage.destroy() stage.destroy()
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
# For no mirrors: # For no mirrors:
# mirrors = [] # mirrors = []
# #
mirrors = ['file:///Users/gamblin2/mirror'] mirrors = []
# Important environment variables # Important environment variables
SPACK_NO_PARALLEL_MAKE = 'SPACK_NO_PARALLEL_MAKE' SPACK_NO_PARALLEL_MAKE = 'SPACK_NO_PARALLEL_MAKE'
......
...@@ -6,9 +6,10 @@ class Mrnet(Package): ...@@ -6,9 +6,10 @@ class Mrnet(Package):
url = "ftp://ftp.cs.wisc.edu/paradyn/mrnet/mrnet_4.0.0.tar.gz" url = "ftp://ftp.cs.wisc.edu/paradyn/mrnet/mrnet_4.0.0.tar.gz"
versions = { '4.0.0' : 'd00301c078cba57ef68613be32ceea2f', } versions = { '4.0.0' : 'd00301c078cba57ef68613be32ceea2f', }
parallel = False
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" %prefix, "--enable-shared") configure("--prefix=%s" %prefix, "--enable-shared")
make(parallel=False) make()
make("install", parallel=False) make("install")
...@@ -29,7 +29,6 @@ class PmgrCollective(Package): ...@@ -29,7 +29,6 @@ class PmgrCollective(Package):
MPI jobs.""" MPI jobs."""
homepage = "http://www.sourceforge.net/projects/pmgrcollective" homepage = "http://www.sourceforge.net/projects/pmgrcollective"
url = "http://downloads.sourceforge.net/project/pmgrcollective/pmgrcollective/PMGR_COLLECTIVE-1.0/pmgr_collective-1.0.tgz" url = "http://downloads.sourceforge.net/project/pmgrcollective/pmgrcollective/PMGR_COLLECTIVE-1.0/pmgr_collective-1.0.tgz"
# url = "http://downloads.sourceforge.net/project/pmgrcollective/pmgrcollective/PMGR_COLLECTIVE-1.0/pmgr_collective-1.0.tgz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpmgrcollective%2F%3Fsource%3Ddlp&ts=1394747864&use_mirror=iweb
versions = { '1.0' : '0384d008774274cc3fc7b4d810dfd07e' } versions = { '1.0' : '0384d008774274cc3fc7b4d810dfd07e' }
......
...@@ -14,21 +14,26 @@ class Stat(Package): ...@@ -14,21 +14,26 @@ class Stat(Package):
depends_on('mrnet') depends_on('mrnet')
def install(self, spec, prefix): def install(self, spec, prefix):
my_mrnet = spec['mrnet'] configure(
my_graphlib = spec['graphlib'] "--enable-gui",
#my_launchmon = spec['launchmon'] "--prefix=%s" % prefix,
my_dyninst = spec['dyninst']
my_libdwarf = spec['libdwarf']
# TODO: this uses the launchmon package, but path is too long (see depends_on above) (Jira SPACK-21) # TODO: this uses the launchmon package, but path is
#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) # too long (see depends_on above) (Jira SPACK-21)
# "--with-launchmon=%s" % spec['launchmon'].prefix,
# TODO: the configure line above is the proper one once Jira SPACK-21 is fixed # TODO: launchmon line above is the proper one once
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) # SPACK-21 is fixed
"--with-launchmon=/collab/usr/global/tools/launchmon/chaos_5_x86_64_ib/launchmon-1.0.0-20140312",
# TODO: remove once Jira SPACK-19 is fixed "--with-mrnet=%s" % spec['mrnet'].prefix,
"--with-graphlib=%s" % spec['graphlib'].prefix,
"--with-stackwalker=%s" % spec['dyninst'].prefix,
"--with-libdwarf=%s" % spec['libdwarf'].prefix)
# TODO: remove once SPACK-19 is fixed
import shutil import shutil
shutil.copy2('/usr/bin/libtool', 'libtool') shutil.copy2('/usr/bin/libtool', 'libtool')
make(parallel=False) make(parallel=False)
make("install") make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment