bazel-compile-commands-extractor icon indicating copy to clipboard operation
bazel-compile-commands-extractor copied to clipboard

Goal: Enable awesome tooling for Bazel users of the C language family.

Results 88 bazel-compile-commands-extractor issues
Sort by recently updated
recently updated
newest added

This is a lazy fix for #204 In my case it prints a bunch of warnings of "-fsyntax-only" but generates usable `compile_commands.json` This is how my version can be tested,...

Hi! First of all let me tell you your tool is very useful and I've been relying on it for all my c++ Bazel projects! :) As far as I...

Filling the following issue as per request: ``` Traceback (most recent call last): File "/root/.cache/bazel/_bazel_root/a089ea60c65490b57e632664954bbd81/execroot/_main/bazel-out/k8-fastbuild/bin/refresh_cc.runfiles/_main/refresh_cc.check_python_version.py", line 15, in refresh_cc.main() File "/root/.cache/bazel/_bazel_root/a089ea60c65490b57e632664954bbd81/execroot/_main/bazel-out/k8-fastbuild/bin/refresh_cc.py", line 1417, in main compile_command_entries.extend(_get_commands(target, flags)) File "/root/.cache/bazel/_bazel_root/a089ea60c65490b57e632664954bbd81/execroot/_main/bazel-out/k8-fastbuild/bin/refresh_cc.py", line...

## `Sym_link` Builds which reroute bazel output cannot be generated for, request to add support for this ## Output `compile_commands.json` is always placed in the `TLD`. Ideally, we should be...

got this error when compiling abseil library. ``` in _get_files assert source_file_candidates, f"No source files found in compile args: {compile_action.arguments}.\nPlease file an issue with this information!" AssertionError: No source files...

Fix for header-only compile actions by Bazel This PR fixes, as far as I can tell, the issues related to #199 where Bazel adds header-only / syntax-only compilation actions that...

## Problem ```shell make cdb bazel run --config=dbg //:refresh_compile_commands && \ python3 ~/tools/cc_modify.py compile_commands.json INFO: Invocation ID: 84d29b05-0535-43b6-9a62-9e9eacfdc8c2 WARNING: Build options --features and --host_features have changed, discarding analysis cache (this...

I'm trying to get `clangd` to recognize my Bazel dependencies, and I got an error when using this tool. I think the issue might be related to the fact that...

Bazel complains that another command is running. Is there any workaround to deal this restriction?

As per title, I have an unit test: ``` cc_test( name = "test_vivivisio_preview_pipeline", srcs = ["test_vivivisio_preview_pipeline.cpp"], data = [ "//pipelines:pipeline-preview.bin", "//pipelines:pipeline-preview.json", ], deps = [ "//core:vivivisio", "@bazel_tools//tools/cpp/runfiles", "@fmt//:fmt", "@googletest//:gtest", "@googletest//:gtest_main",...