Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
reduce the number of command line options for 'cmake' command in CMakeMake generic easyblock #2514
reduce the number of command line options for 'cmake' command in CMakeMake generic easyblock #2514
Changes from all commits
5f8af17
507511e
d05c006
0b78b02
cd45d1c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
We're making the assumption here that CMake is indeed listed as a (build) dependency, which was not the case before.
Prior to these changes, the configure step was failing with "
cmake: command not found
" (unlesscmake
was also available in the OS), but now we get a nasty crash:We're also not taking into account that CMake may be filtered out as a dependency via
--filter-deps
(some people may prefer using the CMake that is provided via the OS), so we should have a fallback to determining the CMake version viacmake --version
ifget_software_version
returnsNone
.@Flamefire Are you up for looking into this? If not, we should open an issue to avoid forgetting about this (we should handle this prior to the next EasyBuild release that includes the changes in this PR)
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 looked into this myself, see #2772