-
Notifications
You must be signed in to change notification settings - Fork 27
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
ecbuild_print_summary: Inconsistent presentation of feature status #79
Comments
Hi @reuterbal, thanks for reporting this issue. Let me investigate what might be happening and I'll come back to you. |
@reuterbal Sorry for taking so long, but I finally looked into this and indeed the ON/OFF status was being cached too early and didn't take into consideration the required packages or conditions. I believe the necessary changes, on #82, fix this issue and should now be running on the CI. |
Hi @reuterbal, @wdeconinck has merged the PR with changes regarding this issue. |
What happened?
The fix for #65 was a more detailed output of the project summary in superbuilds within the boundaries that reporting on the CMake feature level allows (in particular, grouping features with the same name together, irrespective of whether they are enabled or disabled in a specific project).
This project-specific status is reported in parentheses, where the value in the parentheses (ON/OFF) represents the status of this option for the particular project. Or so I thought. It seems that options that are not explicitly enabled or disabled but end up being disabled, e.g., because a CONDITION is not fulfilled, may still show
(ON)
if that is their default value.What are the steps to reproduce the bug?
This reports:
Note that the
MATRIX
andBESSEL
features are disabled because their conditions (REQUIRED_PACKAGES "NAME LAPACK"
orCONDITION HAVE_MATRIX AND GSL_FOUND
, respectively) are not fulfilled. I would have expected the parentheses to show(OFF)
for both in this situation.Version
3.9.1
Platform (OS and architecture)
ECMWF Atos HPCF
Relevant log output
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered: