Skip to content
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

Print all deal.II configurations problems before aborting #279

Merged

Conversation

masterleinad
Copy link
Collaborator

I needed to reconfigure deal.II multiple times since I didn't look into the file that checks the configuration. It's easier to print all the configuration problems at once.

@Rombur
Copy link
Member

Rombur commented May 3, 2024

If you want to print all the configuration issues at once, then accumulate the options that are not satisfied in one string and print one error message. With this PR, we are printing the same sentence many times over, only is a single word is changed. Moreover the last sentence does not give any new information, it just fills the screen.

foreach(FEATURE ${DEAL_II_REQUIRED_FEATURES})
if(NOT DEAL_II_WITH_${FEATURE})
list(APPEND DEAL_II_MISSING_FEATURES ${FEATURE})
set(DEAL_II_HAS_ALL_DEPENDENCIES FALSE)
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't seem to be used

@Rombur Rombur merged commit 50ee53b into adamantine-sim:master May 24, 2024
1 check passed
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.

None yet

2 participants