-
Notifications
You must be signed in to change notification settings - Fork 608
Fix #5360: Deprecate the GROMACS patch #5365
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,3 +1,7 @@ | ||||||||||||||||||||||||||||||||
| message( | ||||||||||||||||||||||||||||||||
| DEPRECATION | ||||||||||||||||||||||||||||||||
| "The GROMACS plugin is deprecated and will be removed in a future version. " | ||||||||||||||||||||||||||||||||
| "See https://arxiv.org/abs/2602.02234 for a third-party alternative.") | ||||||||||||||||||||||||||||||||
|
Comment on lines
+1
to
+4
|
||||||||||||||||||||||||||||||||
| message( | |
| DEPRECATION | |
| "The GROMACS plugin is deprecated and will be removed in a future version. " | |
| "See https://arxiv.org/abs/2602.02234 for a third-party alternative.") | |
| if(CMAKE_ERROR_DEPRECATED) | |
| message( | |
| WARNING | |
| "The GROMACS plugin is deprecated and will be removed in a future version. " | |
| "See https://arxiv.org/abs/2602.02234 for a third-party alternative.") | |
| else() | |
| message( | |
| DEPRECATION | |
| "The GROMACS plugin is deprecated and will be removed in a future version. " | |
| "See https://arxiv.org/abs/2602.02234 for a third-party alternative.") | |
| endif() |
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.
The PR description says the deprecation warning appears when the GROMACS plugin is enabled, but this
message(DEPRECATION ...)will fire wheneversource/gmxis configured. Insource/CMakeLists.txtthegmx/subdirectory is added unconditionally for non-Python C++ builds (around lines 565–567), so this warning will show up even for builds that don’t intend to use GROMACS. Consider adding an explicit CMake option to enable/disable the GROMACS plugin and only emitting the deprecation warning when that option is ON (and/or only adding the subdirectory when enabled).