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

CMake: Do not set errand DEAL_II_TRILINOS_WITH* if Trilinos gets disabled #14634

Merged
merged 2 commits into from Jan 3, 2023

Conversation

tamiko
Copy link
Member

@tamiko tamiko commented Jan 3, 2023

We accidentally already populate DEAL_II_TRILINOS variables while still deciding whether Trilinos support will be enabled or not. In case we decide to disable Trilinos support these variables were never cleaned up. This in combination with the recent change of making Trilinos support stricter, #14626, blew up the entire regression testsuite.

In reference to #14631 #14626

@tamiko
Copy link
Member Author

tamiko commented Jan 3, 2023

/rebuild

endif()
endif()

# the only thing we use from SEACAS right now is ExodusII, so just check
# that it works
if(${DEAL_II_TRILINOS_WITH_SEACAS})
if(${TRILINOS_WITH_SEACAS})
Copy link
Member

Choose a reason for hiding this comment

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

Why do you use if(${...}) here and below but not above on line 278? I assume this is redundant.

Copy link
Member Author

Choose a reason for hiding this comment

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

Beats me. I just ran a search and replace on DEAL_II_TRILINOS and I chose to not alter the script too much in order to avoid mistakes (sans some whitespace fixes further down below where I couldn't resist).

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.

None yet

3 participants