Skip to content

Boost root env variable#976

Merged
boegel merged 6 commits intoeasybuilders:developfrom
jhein32:boost_root_env-variable
Aug 11, 2016
Merged

Boost root env variable#976
boegel merged 6 commits intoeasybuilders:developfrom
jhein32:boost_root_env-variable

Conversation

@jhein32
Copy link
Copy Markdown
Contributor

@jhein32 jhein32 commented Aug 11, 2016

have boost modules set up a BOOST_ROOT environment variable for use by e.g. cmake

Comment thread easybuild/easyblocks/b/boost.py Outdated

def make_module_extra(self):
"""Set up a BOOST_ROOT environment variable to e.g. ease Boost handling by cmake"""
txt = super(EB_Boost, self).make_module-extra()
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.

@jhein32 you have a syntax error here, should be make_module_extra(), not make_module-extra()

when you make changes to an existing easyblock, please make sure you test it too, by (re)building a Boost module in this case

you can make sure that your modified easyblock is being used via --include-easyblocks (see http://easybuild.readthedocs.io/en/latest/Including_additional_Python_modules.html#include-easyblocks)

@jhein32
Copy link
Copy Markdown
Contributor Author

jhein32 commented Aug 11, 2016

Noticed the travis failures. Edited the file via website.

@jhein32
Copy link
Copy Markdown
Contributor Author

jhein32 commented Aug 11, 2016

@boegel I was fighting with the git-hub desktop and it seems to have done a merge of master into a develop (not sure my private or the hpcugent). Could you review that this has no site-effect?

@boegel boegel added this to the v2.9.0 milestone Aug 11, 2016
@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 11, 2016

@jhein32 you added an empty merge commit indeed, but don't worry about that too much, we're not purists there and it has no negative side-effects

PR looks OK now, I'll give it a test on my end but I don't expect problems, should be good to go

@jhein32
Copy link
Copy Markdown
Contributor Author

jhein32 commented Aug 11, 2016

Ran a manual check, rebuilding one of our boost modules. The module file contains the BOOST_ROOT variable and the value appears correct :)

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 11, 2016

lgtm, thanks @jhein32!

@boegel boegel merged commit 28bbb53 into easybuilders:develop Aug 11, 2016
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.

2 participants