-
Notifications
You must be signed in to change notification settings - Fork 578
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
Moertel: Build failure with Epetra disabled #5604
Comments
@tjfulle asked:
Yes, the general strategies for doing this are described in: What you want to do is to put in logic that if any of the these packages are explicitly disabled (i.e. From looking at: it might also work to put this logic in Does that make sense? If not, I can provide a PR that does this. It is just a few lines of code. |
Thanks @bartlettroscoe ! I'll go for the first route, since it will be quick and easy and is holding up work on Tpetra's deprecations. |
Turns out |
@tjfulle said:
Can you give a concrete example of what you are seeing? That option should not enable any packages that have been disabled like Moertel (which should be disabled if any of its dependent packages are explicitly disabled as described above). See: |
Turns out the issue was that Epetra was listed as an optional package when, in fact, it should still be a required package. |
Bug Report
@trilinos/moertel
Description
Moertel requires that if any of
is enabled, they all must be enabled.
A problem arises in the following configuration:
because Tpetra is pervasive throughout Trilinos, one of EpetraExt, Amesos, AztecOO, Ifpack, or ML gets enabled due to downstream code being enabled. So is Moertel. The configuration fails because I explicitly disabled Epetra.
@bartlettroscoe Is there a smarter way for Moertel to enforce this requirement? In this case, I'd rather Moertel not be enabled implicitly if its dependencies are not met. Perhaps some setting/logic in Moertel's
cmake/Dependencies.cmake
that expresses the interconnection between the packages list above that, if any one of the packages is disabled, instructs TriBITs to not enable Moertel?Related
The text was updated successfully, but these errors were encountered: