Skip to content
Snippets Groups Projects
Commit de9cce3e authored by Denis Davydov's avatar Denis Davydov
Browse files

p4est: flake8

parent b8bd02c5
No related branches found
No related tags found
No related merge requests found
...@@ -44,17 +44,18 @@ class P4est(Package): ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment