Skip to content
Snippets Groups Projects
Commit d802144f authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Introduced a bug by correcting flake8 warnings

parent 58052e66
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ def install(self, spec, prefix): ...@@ -123,7 +123,7 @@ def install(self, spec, prefix):
with working_dir(join_path('depends', package)): with working_dir(join_path('depends', package)):
python('setup.py', 'install', '--prefix=%s' % prefix) python('setup.py', 'install', '--prefix=%s' % prefix)
cmake_args.extend([ cmake_args = [
'-DCMAKE_BUILD_TYPE:STRING={0}'.format( '-DCMAKE_BUILD_TYPE:STRING={0}'.format(
'Debug' if '+debug' in spec else 'RelWithDebInfo'), 'Debug' if '+debug' in spec else 'RelWithDebInfo'),
'-DBUILD_SHARED_LIBS:BOOL={0}'.format( '-DBUILD_SHARED_LIBS:BOOL={0}'.format(
...@@ -165,7 +165,8 @@ def install(self, spec, prefix): ...@@ -165,7 +165,8 @@ def install(self, spec, prefix):
self.cmake_is_on('vtk')), self.cmake_is_on('vtk')),
'-DDOLFIN_ENABLE_ZLIB:BOOL={0}'.format( '-DDOLFIN_ENABLE_ZLIB:BOOL={0}'.format(
self.cmake_is_on('zlib')), self.cmake_is_on('zlib')),
]) ]
cmake_args.extend(std_cmake_args) cmake_args.extend(std_cmake_args)
with working_dir('build', create=True): with working_dir('build', create=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment