Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Feb 10, 2025

No description provided.

@boegel boegel added bug fix EasyBuild-5.0 EasyBuild 5.0 labels Feb 10, 2025
@boegel boegel added this to the 5.0 milestone Feb 10, 2025
@boegel boegel requested a review from lexming February 10, 2025 08:59
Comment on lines +3279 to +3281
self.assertEqual(sorted(test_emsp("lib*", ModEnvVarType.PATH)), ["lib", "lib64"])
self.assertEqual(sorted(test_emsp("lib*", ModEnvVarType.PATH_WITH_FILES)), ["lib", "lib64"])
self.assertEqual(sorted(test_emsp("lib*", ModEnvVarType.PATH_WITH_TOP_FILES)), ["lib", "lib64"])
Copy link
Contributor

Choose a reason for hiding this comment

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

this is wrong, if lib64 is symlinked to lib we do not want both paths in the environment

Copy link
Member Author

Choose a reason for hiding this comment

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

There won't be, the logic to handle that is now in EasyBlock.make_module_req, not in expand_module_search_path.

We verify this in test_make_module_req

@boegel
Copy link
Member Author

boegel commented Feb 10, 2025

@boegel
Copy link
Member Author

boegel commented Feb 10, 2025

closing in favor of #4761

@boegel boegel closed this Feb 10, 2025
@boegel boegel deleted the fix_mod_dup_paths branch February 10, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants