Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions easybuild/easyblocks/generic/cmakemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ def configure_step(self, srcdir=None, builddir=None):
install_target = os.path.join(install_target, install_target_subdir)
options = {'CMAKE_INSTALL_PREFIX': install_target}

if self.cmake_version >= '3.16':
# Avoid some software using a lower log level than the default if this is unset
options['CMAKE_MESSAGE_LOG_LEVEL'] = 'STATUS'

if self.installdir.startswith('/opt') or self.installdir.startswith('/usr'):
# https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
localstatedir = os.path.join(self.installdir, 'var')
Expand Down