File tree Expand file tree Collapse file tree 7 files changed +15
-5
lines changed Expand file tree Collapse file tree 7 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ bazel_features_deps()
4949
5050load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
5151
52+ # If you see an error:
53+ # ERROR: Cycle caused by autoloads, failed to load .bzl file '@@cc_compatibility_proxy//:symbols.bzl'.
54+ # then you might need to add the following to your .bzelrc:
55+ # common --repositories_without_autoloads=cc_compatibility_proxy
5256compatibility_proxy_repo()
5357
5458load("@toolchains_llvm//toolchain:rules.bzl", "llvm_toolchain")
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ module(
2222bazel_dep (name = "bazel_features" , version = "1.38.0" )
2323bazel_dep (name = "bazel_skylib" , version = "1.8.2" )
2424bazel_dep (name = "aspect_bazel_lib" , version = "2.19.3" )
25- bazel_dep (name = "rules_cc" , version = "0.2.8 " )
25+ bazel_dep (name = "rules_cc" , version = "0.2.14 " )
2626bazel_dep (name = "platforms" , version = "1.0.0" )
2727bazel_dep (name = "helly25_bzl" , version = "0.3.1" )
2828
Original file line number Diff line number Diff line change 1+ # Empty by design. Allows use of --enable_bzlmod --enable_workspace.
Original file line number Diff line number Diff line change 11common --incompatible_disallow_empty_glob
22common --nolegacy_external_runfiles
33build --features=layering_check
4+ common --repositories_without_autoloads=cc_compatibility_proxy
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ local_path_override(
2222
2323bazel_dep (name = "bazel_skylib" , version = "1.8.2" )
2424bazel_dep (name = "platforms" , version = "1.0.0" )
25- bazel_dep (name = "rules_cc" , version = "0.2.13 " )
25+ bazel_dep (name = "rules_cc" , version = "0.2.14 " )
2626bazel_dep (name = "rules_foreign_cc" , version = "0.15.1" )
2727bazel_dep (name = "rules_go" , version = "0.50.1" , repo_name = "io_bazel_rules_go" )
2828bazel_dep (name = "rules_license" , version = "1.0.0" )
Original file line number Diff line number Diff line change @@ -353,6 +353,10 @@ rules_foreign_cc_dependencies()
353353
354354load ("@rules_cc//cc:extensions.bzl" , "compatibility_proxy_repo" )
355355
356+ # If you see an error:
357+ # ERROR: Cycle caused by autoloads, failed to load .bzl file '@@cc_compatibility_proxy//:symbols.bzl'.
358+ # then you might need to add the following to your .bzelrc:
359+ # common --repositories_without_autoloads=cc_compatibility_proxy
356360compatibility_proxy_repo ()
357361
358362_ALL_CONTENT = """\
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ def bazel_toolchain_dependencies():
1919 if not native .existing_rule ("rules_cc" ):
2020 http_archive (
2121 name = "rules_cc" ,
22- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.2.2 /rules_cc-0.2.2 .tar.gz" ],
23- sha256 = "e50f24506011841e2ac83d9733a0c7e058eb3a10a6e3e10baa9c7942ff5f4767 " ,
24- strip_prefix = "rules_cc-0.2.2 " ,
22+ urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.2.14 /rules_cc-0.2.14 .tar.gz" ],
23+ sha256 = "a2fdfde2ab9b2176bd6a33afca14458039023edb1dd2e73e6823810809df4027 " ,
24+ strip_prefix = "rules_cc-0.2.14 " ,
2525 )
2626
2727 # Load bazel_skylib if the user has not defined them.
You can’t perform that action at this time.
0 commit comments