nfft distclean before configure patch (#3241)

This commit is contained in:
Thierry 2017-02-28 11:05:01 -08:00 committed by Adam J. Stewart
parent d1040b7111
commit 315dfe0970

View file

@ -40,6 +40,7 @@ class Nfft(AutotoolsPackage):
def install(self, spec, prefix):
options = ['--prefix={0}'.format(prefix)]
make("distclean")
configure(*options)
make()
if self.run_tests:
@ -47,12 +48,14 @@ def install(self, spec, prefix):
make("install")
if '+float' in spec['fftw']:
make("distclean")
configure('--enable-float', *options)
make()
if self.run_tests:
make("check")
make("install")
if '+long_double' in spec['fftw']:
make("distclean")
configure('--enable-long-double', *options)
make()
if self.run_tests: