KhronosGroup / OpenCL-Headers

Khronos OpenCL-Headers
Apache License 2.0
666 stars 236 forks source link

remove automated formatting checks #253

Open bashbaug opened 4 months ago

bashbaug commented 4 months ago

We are removing the automated formatting checks before merging CI/CD changes in other repos, see for example: https://github.com/KhronosGroup/OpenCL-CLHPP/pull/262/commits/94eb4dfbd742afe0f36b29c9e562a2e479a0f784.

But, we've already merged the CI/CD changes for this repo, so this PR is needed to remove the automated formatting checks.

Removing the automated formatting checks is is helpful for this repo especially since it has a large amount of auto-generated code that is already formatted consistently.

EwanC commented 4 months ago

Although I don't object to removing the clang-format CI at the moment, should we create an issue to decide whether we want to clang-format the headers at some point in the future? A solution where we add clang-format to the existing header generation script, or clang-format headers as a step in the CMake generate build target I think would integrate into a development flow more effectively than the current manual step we are disabling.

It's not completely analogous but examples of these two solutions are: