p4est: flake8

This commit is contained in:
Denis Davydov 2016-07-13 11:45:33 +02:00
parent b8bd02c5b2
commit de9cce3e80

View file

@ -44,17 +44,18 @@ class P4est(Package):
depends_on('zlib') depends_on('zlib')
def install(self, spec, prefix): def install(self, spec, prefix):
options = ['--enable-mpi', options = [
'--enable-shared', '--enable-mpi',
'--disable-vtk-binary', '--enable-shared',
'--without-blas', '--disable-vtk-binary',
'CPPFLAGS=-DSC_LOG_PRIORITY=SC_LP_ESSENTIAL', '--without-blas',
'CFLAGS=-O2', 'CPPFLAGS=-DSC_LOG_PRIORITY=SC_LP_ESSENTIAL',
'CC=%s' % self.spec['mpi'].mpicc, 'CFLAGS=-O2',
'CXX=%s' % self.spec['mpi'].mpicxx, 'CC=%s' % self.spec['mpi'].mpicc,
'FC=%s' % self.spec['mpi'].mpifc, 'CXX=%s' % self.spec['mpi'].mpicxx,
'F77=%s' % self.spec['mpi'].mpif77 'FC=%s' % self.spec['mpi'].mpifc,
] 'F77=%s' % self.spec['mpi'].mpif77
]
configure('--prefix=%s' % prefix, *options) configure('--prefix=%s' % prefix, *options)