From 19d10c9040e84ae38ebbb6b47a863da8d6c471af Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Wed, 20 Sep 2023 12:53:26 +0000 Subject: [PATCH] rules_cc@0.0.9 (#942) * Publish bazelbuild/rules_cc@0.0.9 * Update source.json --------- Co-authored-by: buildbreaker2021 <88653395+buildbreaker2021@users.noreply.github.com> --- modules/rules_cc/0.0.9/MODULE.bazel | 14 ++++++++++++++ .../0.0.9/patches/module_dot_bazel_version.patch | 13 +++++++++++++ modules/rules_cc/0.0.9/presubmit.yml | 8 ++++++++ modules/rules_cc/0.0.9/source.json | 9 +++++++++ modules/rules_cc/metadata.json | 6 ++---- 5 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 modules/rules_cc/0.0.9/MODULE.bazel create mode 100644 modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_cc/0.0.9/presubmit.yml create mode 100644 modules/rules_cc/0.0.9/source.json diff --git a/modules/rules_cc/0.0.9/MODULE.bazel b/modules/rules_cc/0.0.9/MODULE.bazel new file mode 100644 index 00000000000..7f48c2b14e8 --- /dev/null +++ b/modules/rules_cc/0.0.9/MODULE.bazel @@ -0,0 +1,14 @@ +module( + name = "rules_cc", + version = "0.0.9", + compatibility_level = 1, +) + +bazel_dep(name = "platforms", version = "0.0.7") + +cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension") +use_repo(cc_configure, "local_config_cc_toolchains") + +register_toolchains("@local_config_cc_toolchains//:all") + +bazel_dep(name = "bazel_skylib", version = "1.3.0", dev_dependency = True) diff --git a/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch b/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..e071ca96d8c --- /dev/null +++ b/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch @@ -0,0 +1,13 @@ +Index: MODULE.bazel +=================================================================== +--- MODULE.bazel ++++ MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "rules_cc", +- version = "0.0.4", ++ version = "0.0.9", + compatibility_level = 1, + ) + + bazel_dep(name = "platforms", version = "0.0.7") diff --git a/modules/rules_cc/0.0.9/presubmit.yml b/modules/rules_cc/0.0.9/presubmit.yml new file mode 100644 index 00000000000..52869b1292a --- /dev/null +++ b/modules/rules_cc/0.0.9/presubmit.yml @@ -0,0 +1,8 @@ +matrix: + platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"] +tasks: + verify_targets: + name: "Verify build targets" + platform: ${{ platform }} + build_targets: + - "@rules_cc//cc/..." diff --git a/modules/rules_cc/0.0.9/source.json b/modules/rules_cc/0.0.9/source.json new file mode 100644 index 00000000000..b4e31a98383 --- /dev/null +++ b/modules/rules_cc/0.0.9/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=", + "strip_prefix": "rules_cc-0.0.9", + "url": "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" + }, + "patch_strip": 0 +} diff --git a/modules/rules_cc/metadata.json b/modules/rules_cc/metadata.json index b4507f910c4..6f94b9eb2a5 100644 --- a/modules/rules_cc/metadata.json +++ b/modules/rules_cc/metadata.json @@ -1,16 +1,14 @@ { "homepage": "https://github.com/bazelbuild/rules_cc", "maintainers": [], - "repository": [ - "github:bazelbuild/rules_cc" - ], "versions": [ "0.0.1", "0.0.2", "0.0.4", "0.0.5", "0.0.6", - "0.0.8" + "0.0.8", + "0.0.9" ], "yanked_versions": {} }