bazel-compilation-database icon indicating copy to clipboard operation
bazel-compilation-database copied to clipboard

Tool to generate compile_commands.json from the Bazel build system

Results 6 bazel-compilation-database issues
Sort by recently updated
recently updated
newest added

Fix for https://github.com/grailbio/bazel-compilation-database/issues/101 See https://github.com/bazelbuild/rules_cc/blob/2f8c04c04462ab83c545ab14c0da68c3b4c96191/examples/my_c_compile/my_c_compile.bzl for instance. I haven't found what this feature actually does or whether it is an issue not to support it. They do that in the...

Hi, I have recently upgraded a project using gRPC from 1.31 to 1.48, and now I have the following error: Bazel version is 5.2.0. Running on an ARM64 Mac. ```...

It seems that swift tooling can also consume clang compilation databases https://github.com/apple/sourcekit-lsp/blob/main/Sources/SKCore/CompilationDatabase.swift#L75. Could swift support be added?

enhancement
help wanted

Adds an attribute guarding the creation of the header output group. By generating this group, the rule was triggering the execution of any dependent build rule which output an included...

The compile_commands.json file supports an 'arguments' list instead of a single 'command' string. The forms both valid, but arguments is preferred since it reduces problems with string escaping and can...

Hi, I am new to bazel. I find that the generated command in compile_commands.json is not the same as the one bazel actually uses. For example, **The one bazel uses:**...