nfft distclean before configure patch (#3241)
This commit is contained in:
parent
d1040b7111
commit
315dfe0970
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue