Skip to content

Commit

Permalink
Make use of the new default for build_type in CMakeMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Mar 17, 2020
1 parent 08b0d10 commit 2907090
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion easybuild/easyblocks/b/blender.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class EB_Blender(CMakeMake):
def extra_options():
extra_vars = CMakeMake.extra_options()
extra_vars['separate_build_dir'][0] = True
extra_vars['build_type'][0] = 'Release'
return extra_vars

def find_glob_pattern(self, glob_pattern):
Expand Down
3 changes: 0 additions & 3 deletions easybuild/easyblocks/g/gromacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,6 @@ def configure_step(self):

run_cmd(plumed_cmd, log_all=True, simple=True)

# Select debug or release build
self.cfg['build_type'] = 'Debug' if self.toolchain.options.get('debug', None) else 'Release'

# prefer static libraries, if available
if self.toolchain.options.get('dynamic', False):
self.cfg.update('configopts', "-DGMX_PREFER_STATIC_LIBS=OFF")
Expand Down
2 changes: 0 additions & 2 deletions easybuild/easyblocks/n/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def configure_step(self):
ConfigureMake.configure_step(self)

else:
self.cfg['build_type'] = 'Debug' if self.toolchain.options.get('debug', None) else 'Release'

for (dep, libname) in [('cURL', 'curl'), ('HDF5', 'hdf5'), ('Szip', 'sz'), ('zlib', 'z'),
('PnetCDF', 'pnetcdf')]:
dep_root = get_software_root(dep)
Expand Down
3 changes: 0 additions & 3 deletions easybuild/easyblocks/t/trilinos.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ def configure_step(self):
self.log.deprecated("Use 'build_shared_libs' instead of 'shared_libs' easyconfig parameter", '5.0')
self.cfg['build_shared_libs'] = self.cfg['shared_libs']

# release or debug gversion
self.cfg['build_type'] = 'Debug' if self.toolchain.options.get('debug', None) else 'Release'

# enable full testing
self.cfg.update('configopts', "-DTrilinos_ENABLE_TESTS:BOOL=ON")
self.cfg.update('configopts', "-DTrilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=ON")
Expand Down

0 comments on commit 2907090

Please sign in to comment.