diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2018-01-08 19:42:51 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-01-08 19:42:51 +0100 |
commit | 257d23581cda1b136912dbcfe3c8cee2ba635aab (patch) | |
tree | 6804618a40b2bcd2b3682d8b44b916d198a34eca /var/spack/repos/builtin/packages/adios2 | |
parent | 747dbcb82b235a1c8eff4aa29a14c8beb2a57fca (diff) | |
download | spack-257d23581cda1b136912dbcfe3c8cee2ba635aab.tar.gz spack-257d23581cda1b136912dbcfe3c8cee2ba635aab.tar.bz2 spack-257d23581cda1b136912dbcfe3c8cee2ba635aab.tar.xz spack-257d23581cda1b136912dbcfe3c8cee2ba635aab.zip |
Cleanup: Remove Dbl Brackets (#6848)
Remove unnecessary double brackets in ADIOS2 and gearshifft packages.
Diffstat (limited to 'var/spack/repos/builtin/packages/adios2')
-rw-r--r-- | var/spack/repos/builtin/packages/adios2/package.py | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/var/spack/repos/builtin/packages/adios2/package.py b/var/spack/repos/builtin/packages/adios2/package.py index 8752a18271..935313e6d9 100644 --- a/var/spack/repos/builtin/packages/adios2/package.py +++ b/var/spack/repos/builtin/packages/adios2/package.py @@ -97,24 +97,24 @@ class Adios2(CMakePackage): spec = self.spec args = [ - '-DADIOS2_BUILD_SHARED_LIBS:BOOL={0}'.format(( - 'ON' if '+shared' in spec else 'OFF')), + '-DADIOS2_BUILD_SHARED_LIBS:BOOL={0}'.format( + 'ON' if '+shared' in spec else 'OFF'), '-DADIOS2_BUILD_TESTING=OFF', - '-DADIOS2_USE_MPI={0}'.format(( - 'ON' if '+mpi' in spec else 'OFF')), - '-DADIOS2_USE_BZip2={0}'.format(( - 'ON' if '+bzip2' in spec else 'OFF')), - '-DADIOS2_USE_ZFP={0}'.format(( - 'ON' if '+zfp' in spec else 'OFF')), - '-DADIOS2_USE_DataMan={0}'.format(( - 'ON' if '+dataman' in spec else 'OFF')), - '-DADIOS2_USE_ZeroMQ={0}'.format(( - 'ON' if '+dataman' in spec else 'OFF')), - '-DADIOS2_USE_HDF5={0}'.format(( - 'ON' if '+hdf5' in spec else 'OFF')), - '-DADIOS2_USE_ADIOS1={0}'.format(( - 'ON' if '+adios1' in spec else 'OFF')), - '-DADIOS2_USE_Python={0}'.format(( - 'ON' if '+python' in spec else 'OFF')) + '-DADIOS2_USE_MPI={0}'.format( + 'ON' if '+mpi' in spec else 'OFF'), + '-DADIOS2_USE_BZip2={0}'.format( + 'ON' if '+bzip2' in spec else 'OFF'), + '-DADIOS2_USE_ZFP={0}'.format( + 'ON' if '+zfp' in spec else 'OFF'), + '-DADIOS2_USE_DataMan={0}'.format( + 'ON' if '+dataman' in spec else 'OFF'), + '-DADIOS2_USE_ZeroMQ={0}'.format( + 'ON' if '+dataman' in spec else 'OFF'), + '-DADIOS2_USE_HDF5={0}'.format( + 'ON' if '+hdf5' in spec else 'OFF'), + '-DADIOS2_USE_ADIOS1={0}'.format( + 'ON' if '+adios1' in spec else 'OFF'), + '-DADIOS2_USE_Python={0}'.format( + 'ON' if '+python' in spec else 'OFF') ] return args |