diff options
author | Nicolas Richart <nicolas.richart@epfl.ch> | 2016-06-01 03:31:29 +0200 |
---|---|---|
committer | Nicolas Richart <nicolas.richart@epfl.ch> | 2016-06-01 03:31:29 +0200 |
commit | d802144f39366a2cbd67554de5a099ed8ce80598 (patch) | |
tree | a7aac4fcf5d62d612e5866fbcfdb08b71ede2b2d /var/spack/repos/builtin/packages/fenics | |
parent | 58052e6632a91a5d4549ba811ae0405942ccc0b3 (diff) | |
download | spack-d802144f39366a2cbd67554de5a099ed8ce80598.tar.gz spack-d802144f39366a2cbd67554de5a099ed8ce80598.tar.bz2 spack-d802144f39366a2cbd67554de5a099ed8ce80598.tar.xz spack-d802144f39366a2cbd67554de5a099ed8ce80598.zip |
Introduced a bug by correcting flake8 warnings
Diffstat (limited to 'var/spack/repos/builtin/packages/fenics')
-rw-r--r-- | var/spack/repos/builtin/packages/fenics/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/fenics/package.py b/var/spack/repos/builtin/packages/fenics/package.py index 72282994f5..0845237656 100644 --- a/var/spack/repos/builtin/packages/fenics/package.py +++ b/var/spack/repos/builtin/packages/fenics/package.py @@ -123,7 +123,7 @@ class Fenics(Package): with working_dir(join_path('depends', package)): python('setup.py', 'install', '--prefix=%s' % prefix) - cmake_args.extend([ + cmake_args = [ '-DCMAKE_BUILD_TYPE:STRING={0}'.format( 'Debug' if '+debug' in spec else 'RelWithDebInfo'), '-DBUILD_SHARED_LIBS:BOOL={0}'.format( @@ -165,7 +165,8 @@ class Fenics(Package): self.cmake_is_on('vtk')), '-DDOLFIN_ENABLE_ZLIB:BOOL={0}'.format( self.cmake_is_on('zlib')), - ]) + ] + cmake_args.extend(std_cmake_args) with working_dir('build', create=True): |