From 315dfe097051b4ce844cf27c30abdf9783e3e2d2 Mon Sep 17 00:00:00 2001 From: Thierry Date: Tue, 28 Feb 2017 11:05:01 -0800 Subject: [PATCH] nfft distclean before configure patch (#3241) --- var/spack/repos/builtin/packages/nfft/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/nfft/package.py b/var/spack/repos/builtin/packages/nfft/package.py index 4c1ce2b03d..522191d89a 100644 --- a/var/spack/repos/builtin/packages/nfft/package.py +++ b/var/spack/repos/builtin/packages/nfft/package.py @@ -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: