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):
|
def install(self, spec, prefix):
|
||||||
options = ['--prefix={0}'.format(prefix)]
|
options = ['--prefix={0}'.format(prefix)]
|
||||||
|
|
||||||
|
make("distclean")
|
||||||
configure(*options)
|
configure(*options)
|
||||||
make()
|
make()
|
||||||
if self.run_tests:
|
if self.run_tests:
|
||||||
|
@ -47,12 +48,14 @@ def install(self, spec, prefix):
|
||||||
make("install")
|
make("install")
|
||||||
|
|
||||||
if '+float' in spec['fftw']:
|
if '+float' in spec['fftw']:
|
||||||
|
make("distclean")
|
||||||
configure('--enable-float', *options)
|
configure('--enable-float', *options)
|
||||||
make()
|
make()
|
||||||
if self.run_tests:
|
if self.run_tests:
|
||||||
make("check")
|
make("check")
|
||||||
make("install")
|
make("install")
|
||||||
if '+long_double' in spec['fftw']:
|
if '+long_double' in spec['fftw']:
|
||||||
|
make("distclean")
|
||||||
configure('--enable-long-double', *options)
|
configure('--enable-long-double', *options)
|
||||||
make()
|
make()
|
||||||
if self.run_tests:
|
if self.run_tests:
|
||||||
|
|
Loading…
Reference in a new issue