Skip to content

PKG_CONFIG_PATH search extended to {lib,lib64,lib32,share}/pkgconfig#1505

Merged
boegel merged 2 commits intoeasybuilders:developfrom
hajgato:pkgconifg-easyblock
Dec 10, 2015
Merged

PKG_CONFIG_PATH search extended to {lib,lib64,lib32,share}/pkgconfig#1505
boegel merged 2 commits intoeasybuilders:developfrom
hajgato:pkgconifg-easyblock

Conversation

@hajgato
Copy link
Copy Markdown

@hajgato hajgato commented Dec 10, 2015

No description provided.

@boegel boegel added this to the v2.5.0 milestone Dec 10, 2015
Comment thread easybuild/framework/easyblock.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd prefer this (use os.path.join + alphabetical order):

    'PKG_CONFIG_PATH': [os.path.join(x, 'pkgconfig') for x in ['lib', 'lib32', 'lib64', 'share']],

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@boegel Why alphabetic? then should not be 'LIBRARY_PATH': ['lib', 'lib64', 'lib32'] also alphabetic?
And os.path.join for manpaht as well?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@hajgato: style, mostly, the order should be changed for other stuff too, indeed

for 'share/man', it's a single string, not a composed string, but it doesn't hurt to also use os.path.join there

@hajgato
Copy link
Copy Markdown
Author

hajgato commented Dec 10, 2015

@boegel done

@boegel
Copy link
Copy Markdown
Member

boegel commented Dec 10, 2015

@hajgato: thanks, look good, will merge when Jenkins gives the green light

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2415/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2416/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member

boegel commented Dec 10, 2015

Going in, thanks @hajgato!

boegel added a commit that referenced this pull request Dec 10, 2015
PKG_CONFIG_PATH search extended to {lib,lib64,lib32,share}/pkgconfig
@boegel boegel merged commit 6c99fc6 into easybuilders:develop Dec 10, 2015
@hajgato hajgato deleted the pkgconifg-easyblock branch February 12, 2018 13:19
@boegel boegel modified the milestones: v2.5.0, next release (3.5.2 or 3.6.0) Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants