Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix lib64 fallback for 'lib'/'lib64' dirs entry in sanity_check_paths #2649

Merged
merged 2 commits into from
Nov 3, 2018

Conversation

boegel
Copy link
Member

@boegel boegel commented Nov 3, 2018

fix for bug that popped up in easybuilders/easybuild-easyconfigs#7069

For 'lib' or 'lib64' entries in dirs in sanity_check_paths, the fallback mechanism failed because it checks for entries starting with lib/ or lib64/ (to avoid that partial matches on something like 'library' would trigger the fallback too).

@@ -1656,6 +1667,17 @@ def test_sanity_check_paths_lib64(self):
# sanity check passes when lib64 fallback is enabled (by default), since lib/libtoy.a is also considered
self.test_toy_build(ec_file=test_ec, raise_error=True)

# also check with 'lib' in sanity check dirs (special case)
Copy link
Contributor

Choose a reason for hiding this comment

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

lib -> lib64 in the comment

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@akesandgren akesandgren merged commit fa72174 into easybuilders:develop Nov 3, 2018
@boegel boegel deleted the lib_lib64_fallback_fix branch November 4, 2018 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants