Skip to content

Commit 2227e83

Browse files
publish-to-bcr-bot[bot]James Sharpe
andauthored
rules_foreign_cc@0.12.0 (#2604)
Release: https://github.com/bazelbuild/rules_foreign_cc/releases/tag/0.12.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
1 parent 36936d3 commit 2227e83

5 files changed

Lines changed: 82 additions & 1 deletion

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
"bazelbuild/rules_foreign_cc"
2+
3+
module(
4+
name = "rules_foreign_cc",
5+
version = "0.12.0",
6+
compatibility_level = 1,
7+
)
8+
9+
bazel_dep(name = "bazel_features", version = "1.15.0")
10+
bazel_dep(name = "bazel_skylib", version = "1.3.0")
11+
bazel_dep(name = "platforms", version = "0.0.5")
12+
bazel_dep(name = "rules_python", version = "0.23.1")
13+
14+
# Dev dependencies
15+
bazel_dep(name = "gazelle", version = "0.34.0", dev_dependency = True, repo_name = "bazel_gazelle")
16+
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
17+
bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc")
18+
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
19+
20+
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
21+
python.toolchain(python_version = "3.9")
22+
use_repo(python, "python_3_9")
23+
24+
tools = use_extension("@rules_foreign_cc//foreign_cc:extensions.bzl", "tools")
25+
use_repo(
26+
tools,
27+
"cmake_3.23.2_toolchains",
28+
"cmake_src",
29+
"gettext_runtime",
30+
"glib_dev",
31+
"glib_src",
32+
"gnumake_src",
33+
"meson_src",
34+
"ninja_1.12.1_toolchains",
35+
"ninja_build_src",
36+
"pkgconfig_src",
37+
"rules_foreign_cc_framework_toolchains",
38+
)
39+
40+
register_toolchains(
41+
"@rules_foreign_cc_framework_toolchains//:all",
42+
"@cmake_3.23.2_toolchains//:all",
43+
"@ninja_1.12.1_toolchains//:all",
44+
"@python_3_9//:all",
45+
"@rules_foreign_cc//toolchains:all",
46+
)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,9 +1,9 @@
5+
"bazelbuild/rules_foreign_cc"
6+
7+
module(
8+
name = "rules_foreign_cc",
9+
- version = "0.0.0",
10+
+ version = "0.12.0",
11+
compatibility_level = 1,
12+
)
13+
14+
bazel_dep(name = "bazel_features", version = "1.15.0")
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
matrix:
2+
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
3+
bazel: ["6.x", "7.x"]
4+
5+
tasks:
6+
verify_targets:
7+
name: "Verify build targets"
8+
platform: ${{ platform }}
9+
bazel: ${{ bazel }}
10+
build_targets:
11+
- "@rules_foreign_cc//toolchains/private:make_tool"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-oub7VuZJwe55cD6ZqgydE8bMU8jXoMu4eXqyiIu8maM=",
3+
"strip_prefix": "rules_foreign_cc-0.12.0",
4+
"url": "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.12.0/rules_foreign_cc-0.12.0.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-E2fCsXa4qna78SOqOHyXwRR+1/iRqIVKnOD9WqH0Fdc="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_foreign_cc/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"0.8.0",
1515
"0.9.0",
1616
"0.10.1",
17-
"0.11.1"
17+
"0.11.1",
18+
"0.12.0"
1819
],
1920
"yanked_versions": {}
2021
}

0 commit comments

Comments
 (0)