tolikzinovyev / bazel-compilation-db Goto Github PK
View Code? Open in Web Editor NEWGenerate compile_commands.json and run clang-tidy with Bazel
Generate compile_commands.json and run clang-tidy with Bazel
I followed the instructions in the README.md and I have got the following errors.
I don't understand why I get timeouts when downloading repositories.
INFO: Call stack for the definition of repository 'com_github_tencent_rapidjson' which is a http_archive (rule definition at /home/yixing/.cache/bazel/_bazel_yixing/570dc281ea5a1c40e05404179f2e3bfd/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):
- /home/yixing/garden/WORKSPACE:22:1
ERROR: An error occurred during the fetch of repository 'com_github_tencent_rapidjson':
java.io.IOException: Error downloading [https://github.com/Tencent/rapidjson/archive/v1.1.0.zip] to /home/yixing/.cache/bazel/_bazel_yixing/570dc281ea5a1c40e05404179f2e3bfd/external/com_github_tencent_rapidjson/v1.1.0.zip: connect timed out
INFO: Call stack for the definition of repository 'bazel_skylib' which is a http_archive (rule definition at /home/yixing/.cache/bazel/_bazel_yixing/570dc281ea5a1c40e05404179f2e3bfd/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):
- /home/yixing/garden/WORKSPACE:3:1
ERROR: /home/yixing/garden/third_party/tools/generate_compile_commands/BUILD.bazel:6:1: no such package '@com_github_tencent_rapidjson//': java.io.IOException: Error downloading [https://github.com/Tencent/rapidjson/archive/v1.1.0.zip] to /home/yixing/.cache/bazel/_bazel_yixing/570dc281ea5a1c40e05404179f2e3bfd/external/com_github_tencent_rapidjson/v1.1.0.zip: connect timed out and referenced by '//third_party/tools/generate_compile_commands:extract_compile_command'
ERROR: Analysis of target '//third_party/tools/generate_compile_commands:extract_compile_command' failed; build aborted: no such package '@com_github_tencent_rapidjson//': java.io.IOException: Error downloading [https://github.com/Tencent/rapidjson/archive/v1.1.0.zip] to /home/yixing/.cache/bazel/_bazel_yixing/570dc281ea5a1c40e05404179f2e3bfd/external/com_github_tencent_rapidjson/v1.1.0.zip: connect timed out
INFO: Elapsed time: 1.186s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (3 packages loaded, 12 targets configured)
currently loading: @com_google_protobuf//
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.