mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
0e481bf463
I'm still 100% a believer in clang-format enforcement, but given the difficult constraints upstream CI has, I no longer believe it is productive or fair to do this enforcement upstream. Instead, it can be (and effectively is) enforced much more inexpensively in the Asahi tree. It is far better for me to insert a "reformat asahi" commit once in a while when I rebase the Asahi tree, than to shoot down an unrelated upstream MR because someone forgot to ninja clang-format. I regret adding the clang-format lint to CI. To those who have lost merges over it, I am sorry. I'm learning from my mistakes and trying to do better. I would encourage other drivers in the clang-format include to follow suit, but doing this effectively requires a driver/hardware tree to do the enforcement. (I would also encourage that, as it is much friendlier to upstream CI, but that's a different discussion.) For now, let's opt out asahi at the least. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26030>
9 lines
189 B
Plaintext
9 lines
189 B
Plaintext
# The following files are opted into `ninja clang-format` and
|
|
# enforcement in the CI.
|
|
|
|
src/**/panfrost/**/*
|
|
src/gallium/drivers/i915
|
|
src/amd/vulkan/**/*
|
|
src/amd/compiler/**/*
|
|
src/egl/**/*
|