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

Remove install methods from mock packages (not needed)

parent df0c1134
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,4 @@ class Fake(Package): ...@@ -6,6 +6,4 @@ class Fake(Package):
versions = { '1.0' : 'foobarbaz' } versions = { '1.0' : 'foobarbaz' }
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix) pass
make()
make("install")
...@@ -16,36 +16,5 @@ class Libdwarf(Package): ...@@ -16,36 +16,5 @@ class Libdwarf(Package):
depends_on("libelf") depends_on("libelf")
def clean(self):
for dir in dwarf_dirs:
with working_dir(dir):
if os.path.exists('Makefile'):
make('clean')
def install(self, spec, prefix): def install(self, spec, prefix):
# dwarf build does not set arguments for ar properly pass
make.add_default_arg('ARFLAGS=rcs')
# Dwarf doesn't provide an install, so we have to do it.
mkdirp(prefix.bin, prefix.include, prefix.lib, prefix.man1)
with working_dir('libdwarf'):
configure("--prefix=%s" % prefix, '--enable-shared')
make()
install('libdwarf.a', prefix.lib)
install('libdwarf.so', prefix.lib)
install('libdwarf.h', prefix.include)
install('dwarf.h', prefix.include)
with working_dir('dwarfdump2'):
configure("--prefix=%s" % prefix)
# This makefile has strings of copy commands that
# cause a race in parallel
make(parallel=False)
install('dwarfdump', prefix.bin)
install('dwarfdump.conf', prefix.lib)
install('dwarfdump.1', prefix.man1)
...@@ -16,6 +16,4 @@ class Mpich(Package): ...@@ -16,6 +16,4 @@ class Mpich(Package):
provides('mpi@:1', when='@1:') provides('mpi@:1', when='@1:')
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix) pass
make()
make("install")
...@@ -13,6 +13,4 @@ class Mpileaks(Package): ...@@ -13,6 +13,4 @@ class Mpileaks(Package):
depends_on("callpath") depends_on("callpath")
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix) pass
make()
make("install")
...@@ -12,6 +12,4 @@ class Zmpi(Package): ...@@ -12,6 +12,4 @@ class Zmpi(Package):
depends_on('fake') depends_on('fake')
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix) pass
make()
make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment