-
Notifications
You must be signed in to change notification settings - Fork 4
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
Clang-format support #117
Clang-format support #117
Conversation
@@ -142,7 +142,7 @@ class Tribol(CachedCMakePackage, CudaPackage, ROCmPackage): | |||
depends_on("python", when="+devtools") | |||
depends_on("py-shroud", when="+devtools+fortran") | |||
depends_on("py-sphinx", when="+devtools") | |||
depends_on("llvm+clang@10.0.0", when="+devtools", type="build") | |||
depends_on("llvm+clang@14:", when="+devtools", type="build") |
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.
depends_on("llvm+clang@14:", when="+devtools", type="build") | |
depends_on("llvm+clang@14", when="+devtools", type="build") |
i would recommend this as major clang-format versions produce different style
This one should be good to go now |
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.
@ebchin - Thanks for tackling this. Looks great. Test 'make style' and add spacing formatting as discussed.
.clang-format
custom style (based on Serac).clang-format
on all header and source files insrc
clang-format
14 upon pushing to GitHubdevelop
, leaving a comment/style
in the PR should runclang-format
to apply style to code (see this Serac PR for more details)