p4est: flake8
This commit is contained in:
parent
b8bd02c5b2
commit
de9cce3e80
1 changed files with 12 additions and 11 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue