Skip to content

Commit

Permalink
Use version of hedron_compile_commands from PR
Browse files Browse the repository at this point in the history
... to fix the `bazel run @hedron_compile_commands//:refresh_all`
command.
Databean committed Jan 31, 2025
1 parent f5bfc35 commit fc716f4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions base/cvd/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -5,38 +5,38 @@
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################

bazel_dep(name = "bazel_clang_tidy", dev_dependency = True)
bazel_dep(name = "boringssl", version = "0.20241024.0")
bazel_dep(name = "curl", version = "8.8.0.bcr.2")
bazel_dep(name = "fmt", version = "10.2.1")
bazel_dep(name = "gflags", version = "2.2.2")
bazel_dep(name = "googletest", version = "1.15.2")
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
bazel_dep(name = "jsoncpp", version = "1.9.5")
bazel_dep(name = "libxml2", version = "2.13.5")
bazel_dep(name = "protobuf", version = "29.1")
bazel_dep(name = "tinyxml2", version = "10.0.0")
bazel_dep(name = "toolchains_llvm", version = "1.2.0")
bazel_dep(name = "zlib", version = "1.3.1.bcr.3")

# Hedron's Compile Commands Extractor for Bazel
# https://github.com/hedronvision/bazel-compile-commands-extractor
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
git_override(
module_name = "hedron_compile_commands",
commit = "0e990032f3c5a866e72615cf67e5ce22186dcb97",
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
# Replace the commit hash (above) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main).
# While waiting for
# https://github.com/hedronvision/bazel-compile-commands-extractor/pull/219
# to be merged.
commit = "f5fbd4cee671d8d908f37c83abaf70fba5928fc7",
remote = "https://github.com/mikael-s-persson/bazel-compile-commands-extractor",
)

# clang-tidy
# https://github.com/erenon/bazel_clang_tidy
bazel_dep(name = "bazel_clang_tidy", dev_dependency = True)
git_override(
module_name = "bazel_clang_tidy",
commit = "f23d924918c581c68cd5cda5f12b4f8198ac0c35",
remote = "https://github.com/erenon/bazel_clang_tidy.git",
)

bazel_dep(name = "toolchains_llvm", version = "1.2.0")

# Configure and register the toolchain.
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")
llvm.toolchain(

0 comments on commit fc716f4

Please sign in to comment.