disable gcc_analyze for now
This commit is contained in:
24
build.zig
24
build.zig
@@ -84,17 +84,19 @@ pub fn build(b: *std.Build) !void {
|
||||
clang_analyze.expectExitCode(0);
|
||||
lint_step.dependOn(&clang_analyze.step);
|
||||
|
||||
const gcc_analyze = b.addSystemCommand(&.{
|
||||
"gcc",
|
||||
"-c",
|
||||
"--analyzer",
|
||||
"-Werror",
|
||||
"-o",
|
||||
"/dev/null",
|
||||
});
|
||||
gcc_analyze.addFileArg(b.path(cfile));
|
||||
gcc_analyze.expectExitCode(0);
|
||||
lint_step.dependOn(&gcc_analyze.step);
|
||||
// TODO(motiejus) re-enable once project
|
||||
// nears completion. Takes too long for comfort.
|
||||
//const gcc_analyze = b.addSystemCommand(&.{
|
||||
// "gcc",
|
||||
// "-c",
|
||||
// "--analyzer",
|
||||
// "-Werror",
|
||||
// "-o",
|
||||
// "/dev/null",
|
||||
//});
|
||||
//gcc_analyze.addFileArg(b.path(cfile));
|
||||
//gcc_analyze.expectExitCode(0);
|
||||
//lint_step.dependOn(&gcc_analyze.step);
|
||||
|
||||
const cppcheck = b.addSystemCommand(&.{
|
||||
"cppcheck",
|
||||
|
||||
Reference in New Issue
Block a user