@@ -20,19 +20,37 @@ use_repo(
2020)
2121
2222register_toolchains (
23+ # llvm14
2324 "@rules_swiftnav//cc/toolchains/llvm/aarch64-darwin:cc-toolchain-aarch64-darwin" ,
25+ "@rules_swiftnav//cc/toolchains/llvm/x86_64-linux:cc-toolchain-x86_64-linux" ,
26+ # llvm20
2427 "@rules_swiftnav//cc/toolchains/llvm20/aarch64-darwin:cc-toolchain-aarch64-darwin" ,
2528 "@rules_swiftnav//cc/toolchains/llvm20/x86_64-darwin:cc-toolchain-x86_64-darwin" ,
2629 "@rules_swiftnav//cc/toolchains/llvm20/aarch64-linux:cc-toolchain-aarch64-linux" ,
2730 "@rules_swiftnav//cc/toolchains/llvm20/x86_64-linux:cc-toolchain-x86_64-linux" ,
31+ # system gcc
32+ "@rules_swiftnav//cc/toolchains/system_gcc/gcc11_x86_64-linux:system-cc-toolchain-x86_64-linux" ,
2833)
2934
3035bazel_dep (name = "googletest" , version = "1.16.0" , dev_dependency = True )
3136bazel_dep (name = "lcov" , version = "2.3.1" , dev_dependency = True )
3237
38+ bazel_dep (name = "eigen" , version = "5.0.0" )
39+
3340# Register the buildifier toolchain
3441bazel_dep (
3542 name = "buildifier_prebuilt" ,
3643 version = "8.2.0.2" ,
3744 dev_dependency = True ,
3845)
46+
47+ # bazel run @hedron_compile_commands//:refresh_all
48+ # bazel run @hedron_compile_commands//:refresh_all -- --config=system-gcc
49+ bazel_dep (name = "hedron_compile_commands" , dev_dependency = True )
50+ git_override (
51+ module_name = "hedron_compile_commands" ,
52+ commit = "4f28899228fb3ad0126897876f147ca15026151e" ,
53+ remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git" ,
54+ # Replace the commit hash (above) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main).
55+ # Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README).
56+ )
0 commit comments