-
Notifications
You must be signed in to change notification settings - Fork 283
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
use explicit build toolset and compiler path in Boost easyblock #2402
use explicit build toolset and compiler path in Boost easyblock #2402
Conversation
Test report by @zao Overview of tested easyconfigs (in order)
Build succeeded for 3 out of 3 (3 easyconfigs in total) |
Test report by @Flamefire Overview of tested easyconfigs (in order)
Build succeeded for 7 out of 7 (7 easyconfigs in total) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found one more thing, ignore this review
# Check if using a Cray toolchain and configure MPI accordingly | ||
if self.toolchain.toolchain_family() == toolchain.CRAYPE: | ||
if self.toolchain.PRGENV_MODULE_NAME_SUFFIX == 'gnu': | ||
craympichdir = os.getenv('CRAY_MPICH2_DIR') | ||
craygccversion = os.getenv('GCC_VERSION') | ||
txt = '\n'.join([ | ||
user_config.extend([ | ||
'local CRAY_MPICH2_DIR = %s ;' % craympichdir, | ||
'using gcc ', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this conflict with the toolset setting above? i.e. the user_config.append...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, maybe the last one wins... But added code to remove it and also check that it is actually used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Going in, thanks @Flamefire! |
(created using
eb --new-pr
)Fixes easybuilders/easybuild#695