disable gcc_analyze for now

This commit is contained in:
2026-02-12 13:52:53 +02:00
parent 71f570ee3d
commit 47c9f3e038

View File

@@ -84,17 +84,19 @@ pub fn build(b: *std.Build) !void {
clang_analyze.expectExitCode(0); clang_analyze.expectExitCode(0);
lint_step.dependOn(&clang_analyze.step); lint_step.dependOn(&clang_analyze.step);
const gcc_analyze = b.addSystemCommand(&.{ // TODO(motiejus) re-enable once project
"gcc", // nears completion. Takes too long for comfort.
"-c", //const gcc_analyze = b.addSystemCommand(&.{
"--analyzer", // "gcc",
"-Werror", // "-c",
"-o", // "--analyzer",
"/dev/null", // "-Werror",
}); // "-o",
gcc_analyze.addFileArg(b.path(cfile)); // "/dev/null",
gcc_analyze.expectExitCode(0); //});
lint_step.dependOn(&gcc_analyze.step); //gcc_analyze.addFileArg(b.path(cfile));
//gcc_analyze.expectExitCode(0);
//lint_step.dependOn(&gcc_analyze.step);
const cppcheck = b.addSystemCommand(&.{ const cppcheck = b.addSystemCommand(&.{
"cppcheck", "cppcheck",