Fix for SPACK-46: cleanup spack clean, spack restage.

This commit is contained in:
Todd Gamblin
2015-02-18 14:00:37 -08:00
parent db11373351
commit c7b8a4e25c
5 changed files with 54 additions and 53 deletions

View File

@@ -53,13 +53,6 @@ class Libdwarf(Package):
parallel = False
def clean(self):
for dir in dwarf_dirs:
with working_dir(dir):
if os.path.exists('Makefile'):
make('clean')
def install(self, spec, prefix):
# dwarf build does not set arguments for ar properly
make.add_default_arg('ARFLAGS=rcs')

View File

@@ -11,9 +11,5 @@ class PyVirtualenv(Package):
extends('python')
depends_on('py-setuptools')
def clean(self):
if os.path.exists('build'):
shutil.rmtree('build')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)