Fix for SPACK-46: cleanup spack clean, spack restage.
This commit is contained in:
@@ -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')
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user