Skip to content

Commit

Permalink
Error out on unknown configure args
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Oct 25, 2023
1 parent 52f3b5f commit bc13247
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/easyblocks/generic/configuremake.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from easybuild.tools.filetools import CHECKSUM_TYPE_SHA256, adjust_permissions, compute_checksum, download_file
from easybuild.tools.filetools import read_file, remove_file
from easybuild.tools.py2vs3 import string_type
from easybuild.tools.run import run_cmd
from easybuild.tools.run import check_log_for_errors, run_cmd

# string that indicates that a configure script was generated by Autoconf
# note: bytes string since this constant is used to check the contents of 'configure' which is read as bytes
Expand Down Expand Up @@ -324,6 +324,7 @@ def configure_step(self, cmd_prefix=''):
)

(out, _) = run_cmd(cmd, log_all=True, simple=False)
check_log_for_errors(out, ['configure: WARNING: unrecognized options:'])

return out

Expand Down

0 comments on commit bc13247

Please sign in to comment.