From f875f97de0ad3da2228589572384ff680afe81b9 Mon Sep 17 00:00:00 2001 From: Simon Branford <4967+branfosj@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:25:41 +0000 Subject: [PATCH] removing unneeded change --- easybuild/easyblocks/generic/configuremake.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easybuild/easyblocks/generic/configuremake.py b/easybuild/easyblocks/generic/configuremake.py index af62797129..c20563228b 100644 --- a/easybuild/easyblocks/generic/configuremake.py +++ b/easybuild/easyblocks/generic/configuremake.py @@ -338,8 +338,8 @@ def configure_step(self, cmd_prefix=''): raise EasyBuildError('Invalid value for `unrecognized_configure_options`: %s. Must be one of: ', action, ', '.join(valid_actions)) if action != IGNORE: - unrecognized_options_str = "^configure: WARNING: unrecognized options:" - unrecognized_options = re.findall(rf"{unrecognized_options_str}.*", res.output, flags=re.I | re.M) + unrecognized_options_str = 'configure: WARNING: unrecognized options:' + unrecognized_options = re.findall(rf"^{unrecognized_options_str}.*", res.output, flags=re.I | re.M) # Keep only unique options (remove the warning string and strip whitespace) unrecognized_options = nub(x.split(unrecognized_options_str)[-1].strip() for x in unrecognized_options) if unrecognized_options: