Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Nov 9, 2020

No description provided.

'boost_mpi': [False, "Build mpi boost module", CUSTOM],
'boost_multi_thread': [False, "Build boost with multi-thread option", CUSTOM],
'toolset': [None, "Toolset to use for Boost configuration ('--with-toolset for bootstrap.sh')", CUSTOM],
'extra_cxxflags': [None, "Extra C++ compiler flags to use", CUSTOM],
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if an option like this would be better done as a toolchainopt in the framework?
Then EB just sets CXXFLAGS with the extra flags and it will be picked up with the existing logic in boost.py.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that's actually a good point...

Should probably also be an EasyBuild configuration option like --cxxflags (but perhaps as an override rather than to specify extra flags, so that would be a separate PR/feature).

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

It's actually exactly what's needed, thanks for reviving that PR!

@boegel
Copy link
Member Author

boegel commented Nov 10, 2020

Superseded by better solution in easybuilders/easybuild-framework#2193

@boegel boegel closed this Nov 10, 2020
@boegel boegel deleted the boost_extra_cxxflags branch November 10, 2020 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants