bazel-compile-commands-extractor
bazel-compile-commands-extractor copied to clipboard
Goal: Enable awesome tooling for Bazel users of the C language family.
With the ThreadPoolExecutor, it was observed that the compile commands extractor was effectively running single threaded for substantial periods of time, most likely due to the GIL. CPU utilization was...
I am new to Bazel but need to use it in a project. The project runs in docker container built from an image based on gcr.io/bazel-public/bazel:8.0.0. Since I encountered the...
Add patch wrapper to resolve the compiler used within cc_wrapper.sh (linux & osx) and output the path to compiler directly in compile commands. This is specifically useful for cases like...
https://developer.nvidia.com/thrust library
When running this on a closed source base (~30k C++ files, ~40k headers, ~2 GB source) I get a out of memory kill from Linux after about 4 minutes. This...
 I found that `rules_python` had merged the request (https://github.com/bazelbuild/rules_python/commit/c7aa9893c146e33a5e76dbbd83115e91a8836021) to downgrade "running as root" error to a warning by default Can we configure this error to warning and ignore...
``` File "/.pixi/envs/default/share/bazel/b26298d3d2cb16163244faa5fa9349eb/execroot/_main/bazel-out/k8-fastbuild/bin/external/hedron_compile_commands~/refresh_all.runfiles/hedron_compile_commands~/refresh_all.py", line 626, 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 found in...
cc1plus: error: command-line option '-std=gnu23' is valid for C/ObjC but not for C++ [-Werror] cc1plus: note: unrecognized command-line option '-Wno-newline-eof' may have been intended to silence earlier diagnostics cc1plus: all...
``` external/c-ares~/ares_process.c:166:2: error: #error "Neither EWOULDBLOCK nor EAGAIN defined" 166 | #error "Neither EWOULDBLOCK nor EAGAIN defined" | ^~~~~ external/c-ares~/ares_process.c:971:4: error: #error "no non-blocking method was found/used/set" 971 | #...
Hi! It looks like this project is not maintained anymore. (E.g. #219 is still blocked and it looks like the maintainers haven't been active on Github in a few months.)...