Skip to content
Open
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
7 changes: 7 additions & 0 deletions easybuild/easyblocks/generic/pythonpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,13 @@ def build_step(self):
# take into account that build/install steps may be run multiple times
# We consider the build and install output together as downloads likely happen here if this is run
self.install_cmd_output += res.output
elif (self.cfg['prebuildopts'] and not self.cfg['preinstallopts']) or (
self.cfg['buildopts'] and not self.cfg['installopts']):
msg = '(pre_)build_opts specified but no build is beeing run.'
if self.using_pip_install():
msg += ' When using pip only the install step is performed and the build options are ignored.'
msg += ' Use (pre_)install_opts in this case.'
raise EasyBuildError(msg)

def test_step(self, return_output_ec=False):
"""
Expand Down