From 8d9bdcd40533b2656552fd37678e3d5dcc2f2a07 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:51:25 +0000 Subject: [PATCH] rules_cc@0.1.0 (#3131) Release: https://github.com/bazelbuild/rules_cc/releases/tag/0.1.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ --------- Co-authored-by: Ivo List Co-authored-by: Ivo List --- modules/rules_cc/0.1.0/MODULE.bazel | 18 ++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 12 ++++++++++++ modules/rules_cc/0.1.0/presubmit.yml | 11 +++++++++++ modules/rules_cc/0.1.0/source.json | 9 +++++++++ modules/rules_cc/metadata.json | 3 ++- 5 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 modules/rules_cc/0.1.0/MODULE.bazel create mode 100644 modules/rules_cc/0.1.0/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_cc/0.1.0/presubmit.yml create mode 100644 modules/rules_cc/0.1.0/source.json diff --git a/modules/rules_cc/0.1.0/MODULE.bazel b/modules/rules_cc/0.1.0/MODULE.bazel new file mode 100644 index 00000000000..2e1224fd89d --- /dev/null +++ b/modules/rules_cc/0.1.0/MODULE.bazel @@ -0,0 +1,18 @@ +module( + name = "rules_cc", + version = "0.1.0", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_features", version = "1.19.0") +bazel_dep(name = "bazel_skylib", version = "1.7.1") +bazel_dep(name = "platforms", version = "0.0.10") + +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") + +bazel_dep(name = "rules_shell", version = "0.2.0", dev_dependency = True) +bazel_dep(name = "rules_testing", version = "0.6.0", dev_dependency = True) +bazel_dep(name = "stardoc", version = "0.7.0", dev_dependency = True) diff --git a/modules/rules_cc/0.1.0/patches/module_dot_bazel_version.patch b/modules/rules_cc/0.1.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..9f91fef880b --- /dev/null +++ b/modules/rules_cc/0.1.0/patches/module_dot_bazel_version.patch @@ -0,0 +1,12 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "rules_cc", +- version = "0.0.0", ++ version = "0.1.0", + compatibility_level = 1, + ) + + bazel_dep(name = "bazel_features", version = "1.19.0") diff --git a/modules/rules_cc/0.1.0/presubmit.yml b/modules/rules_cc/0.1.0/presubmit.yml new file mode 100644 index 00000000000..ec7d0d486c8 --- /dev/null +++ b/modules/rules_cc/0.1.0/presubmit.yml @@ -0,0 +1,11 @@ +matrix: + platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"] + bazel: + - 7.x +tasks: + verify_targets: + name: "Verify build targets" + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - "@rules_cc//cc/..." diff --git a/modules/rules_cc/0.1.0/source.json b/modules/rules_cc/0.1.0/source.json new file mode 100644 index 00000000000..a4767692296 --- /dev/null +++ b/modules/rules_cc/0.1.0/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-SxIUmgQd37gwao/Q6QTjnWc1Us6C5ClulvrJy/B4Dlk=", + "strip_prefix": "rules_cc-0.1.0", + "url": "https://github.com/bazelbuild/rules_cc/releases/download/0.1.0/rules_cc-0.1.0.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-2pIvoTgk0ChEhJ6GELGNoN9PGRna9nMz49fzt7+d7mg=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_cc/metadata.json b/modules/rules_cc/metadata.json index 8efb1d2f40f..808d6a3516e 100644 --- a/modules/rules_cc/metadata.json +++ b/modules/rules_cc/metadata.json @@ -19,7 +19,8 @@ "0.0.11", "0.0.12", "0.0.13", - "0.0.14" + "0.0.14", + "0.1.0" ], "yanked_versions": {} }