Open Ravbug opened 4 days ago
We do not currently have an option to disable the clang-format verification for generated sources that get put into the DXC GitHub repository. We have a strict requirement that all code going into DXC be clang-format clean, so we want the build system to also enforce that and behave appropriately with the generated sources.
I don't think we should allow disabling the format check in isolation, but I think we could add an option to disable generating sources that get put into the DXC source tree, and since those are the only ones that get compared for differences that should resolve the build difficulties.
It is important to note that since we have a strict requirement for sources in DXC being clang-format clean, any contributions you make may need to be built with the default build configuration and our pre-merge builds enforce that requirement.
Thanks for the quick response! The changes in #6730 appear to fix my issue.
What is the issue you're encountering? When I build the
dxc
target from source as a subdirectory of my codebase, I get these errors:A few more targets also fail with this same error. It still produces
dxc.exe
anddxcompiler.dll
. Is it possible to turn off the clang-format checks?Steps to Reproduce (if applicable)
Environment
dxcompiler.dll: 1.8 - 1.8.0.2207 (master, 452045c6f-dirty)
cmake version 3.28.3-msvc11
MSVC 19.40.33811.0