Skip to content

Conversation

@lexming
Copy link
Contributor

@lexming lexming commented Oct 24, 2025

@lexming lexming added this to the 5.x milestone Oct 24, 2025

def _search_path_vars(self, search_object):
"""Return list of environment variables used as search paths for the given object"""
search_path_opt = self.search_path[search_object]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Produce proper error message when wrong key is used:

try:
    search_path_opt = self.search_path[search_object]
except KeyError:
    raise EasyBuildError("...")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, fixed in 19efb5e

@boegel boegel modified the milestones: 5.x, next release (5.2.0?) Oct 25, 2025
@boegel boegel changed the title add search_path_vars_headers and search_path_vars_linker properties to Toolchain add search_path_vars_headers and search_path_vars_linker properties to Toolchain Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants