Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions modules/rules_cc/0.2.12-rc2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
module(
name = "rules_cc",
version = "0.2.12-rc2",
compatibility_level = 1,
)

bazel_dep(name = "bazel_features", version = "1.28.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "protobuf", version = "27.0", repo_name = "com_google_protobuf")

cc_configure = use_extension("//cc:extensions.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc", "local_config_cc_toolchains")

register_toolchains(
"@local_config_cc_toolchains//:all",
"//cc/private/toolchain/test:default_test_runner_toolchain",
)

bazel_dep(name = "rules_shell", version = "0.2.0", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.17.0", dev_dependency = True)
single_version_override(
module_name = "googletest",
patch_strip = 1,
patches = ["//:googletest.patch"],
version = "1.17.0",
)

bazel_dep(name = "rules_testing", version = "0.6.0", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True)

# Compatibility layer
compat = use_extension("//cc:extensions.bzl", "compatibility_proxy")
use_repo(compat, "cc_compatibility_proxy")
17 changes: 17 additions & 0 deletions modules/rules_cc/0.2.12-rc2/attestations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"mediaType": "application/vnd.build.bazel.registry.attestation+json;version=1.0.0",
"attestations": {
"source.json": {
"url": "https://github.com/bazelbuild/rules_cc/releases/download/0.2.12-rc2/source.json.intoto.jsonl",
"integrity": "sha256-cpyb/2tRO6XCt5V72p+euogZxKe3EtVyv90FAsczVTE="
},
"MODULE.bazel": {
"url": "https://github.com/bazelbuild/rules_cc/releases/download/0.2.12-rc2/MODULE.bazel.intoto.jsonl",
"integrity": "sha256-eCTbB3zb8VP4RVIfJFoBwMtGefvGw+Ue7XfsDtLC4t8="
},
"rules_cc-0.2.12-rc2.tar.gz": {
"url": "https://github.com/bazelbuild/rules_cc/releases/download/0.2.12-rc2/rules_cc-0.2.12-rc2.tar.gz.intoto.jsonl",
"integrity": "sha256-z/1xO7P7+mSYVVce+zh99jZrOnk2YguwUWBewQUm9Q8="
}
}
}
12 changes: 12 additions & 0 deletions modules/rules_cc/0.2.12-rc2/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_cc",
- version = "0.0.0",
+ version = "0.2.12-rc2",
compatibility_level = 1,
)

bazel_dep(name = "bazel_features", version = "1.28.0")
12 changes: 12 additions & 0 deletions modules/rules_cc/0.2.12-rc2/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
matrix:
platform: ["rockylinux8", "debian11", "macos", "macos_arm64", "ubuntu2404", "windows"]
bazel:
- 7.x
- 8.x
tasks:
verify_targets:
name: "Verify build targets"
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "@rules_cc//cc/..."
9 changes: 9 additions & 0 deletions modules/rules_cc/0.2.12-rc2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-ReLkT5hs37Vlep4QOu3/YRHZdcbr5/jQws15Vyb09xA=",
"strip_prefix": "rules_cc-0.2.12-rc2",
"url": "https://github.com/bazelbuild/rules_cc/releases/download/0.2.12-rc2/rules_cc-0.2.12-rc2.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-+cqYIp/Kt3x/BCLaXpJHVDtbWfv+PFF2VrQTW/d8nmc="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_cc/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"0.2.9",
"0.2.10",
"0.2.11",
"0.2.12-rc1"
"0.2.12-rc1",
"0.2.12-rc2"
],
"yanked_versions": {
"0.0.14": "rules_cc 0.0.14 is yanked due to incompatible change (prematurely removing cc_proto_library from defs.bzl), please upgrade to 0.0.15",
Expand Down
Loading