Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maint/code-cleanup: Check for gindent 2.2.11
Signed-off-by: Hui Zhou <hzhou321@anl.gov>
- Loading branch information
4a69039
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.
This can be a problem when using a GNU indent version newer than 2.2.11. (I am using 2.2.12.)
4a69039
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.
There is inconsistency between version 2.2.11 and 2.2.12. There will be problem unless we force a single consistent version everywhere -- right now, it seems forcing ver. 2.2.11 is a lesser evil.
You need install gnu indent 2.2.11 if you choose to use
code-cleanup.sh
for MPICH (at this point).4a69039
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.
Yep. As @hzhou said, if you use 2.2.12, you'll get a completely different output so we have to lock down the version. Unfortunately, it's not always easy to get 2.2.11, especially on a Mac. If you want a Homebrew recipe to get that working, you can use the one I posted (with instructions) here:
https://gist.github.com/wesbland/501063f151c1eb815d8001abf2285cbe
Let me know if that has gone stale. I haven't had to apply it in a while so I don't know if the recipe has changed.