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);
|
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",
|
||||||
|
|||||||
Reference in New Issue
Block a user