Skip to content

Commit c3a57ae

Browse files
publish-to-bcr-bot[bot]James Sharpe
andauthored
rules_foreign_cc@0.15.1 (#4987)
Release: https://github.com/bazel-contrib/rules_foreign_cc/releases/tag/0.15.1 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
1 parent 5fb8184 commit c3a57ae

5 files changed

Lines changed: 84 additions & 1 deletion

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
"""bazel-contrib/rules_foreign_cc"""
2+
3+
module(
4+
name = "rules_foreign_cc",
5+
version = "0.15.1",
6+
compatibility_level = 1,
7+
)
8+
9+
bazel_dep(name = "bazel_features", version = "1.21.0")
10+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
11+
bazel_dep(name = "platforms", version = "0.0.11")
12+
bazel_dep(name = "rules_cc", version = "0.1.1")
13+
bazel_dep(name = "rules_python", version = "1.2.0")
14+
bazel_dep(name = "rules_shell", version = "0.3.0")
15+
16+
# Dev dependencies
17+
bazel_dep(name = "gazelle", version = "0.41.0", dev_dependency = True, repo_name = "bazel_gazelle")
18+
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True)
19+
bazel_dep(name = "bazel_ci_rules", version = "1.0.0", dev_dependency = True)
20+
bazel_dep(name = "aspect_rules_lint", version = "1.2.2", dev_dependency = True)
21+
22+
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
23+
python.toolchain(python_version = "3.12")
24+
use_repo(python, "python_3_12")
25+
26+
tools = use_extension("@rules_foreign_cc//foreign_cc:extensions.bzl", "tools")
27+
use_repo(
28+
tools,
29+
"cmake_3.31.8_toolchains",
30+
"cmake_src",
31+
"gettext_runtime",
32+
"glib_dev",
33+
"glib_src",
34+
"gnumake_src",
35+
"meson_src",
36+
"ninja_1.13.0_toolchains",
37+
"ninja_build_src",
38+
"pkgconfig_src",
39+
"rules_foreign_cc_framework_toolchains",
40+
)
41+
42+
register_toolchains(
43+
"@rules_foreign_cc_framework_toolchains//:all",
44+
"@cmake_3.31.8_toolchains//:all",
45+
"@ninja_1.13.0_toolchains//:all",
46+
"@python_3_12//:all",
47+
"@rules_foreign_cc//toolchains:all",
48+
)
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+
"""bazel-contrib/rules_foreign_cc"""
6+
7+
module(
8+
name = "rules_foreign_cc",
9+
- version = "0.0.0",
10+
+ version = "0.15.1",
11+
compatibility_level = 1,
12+
)
13+
14+
bazel_dep(name = "bazel_features", version = "1.21.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: ["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-MnWXKJE8N2ukWwEWhptxtoscLr+PK897QSIrwHt3PXM=",
3+
"strip_prefix": "rules_foreign_cc-0.15.1",
4+
"url": "https://github.com/bazel-contrib/rules_foreign_cc/releases/download/0.15.1/rules_foreign_cc-0.15.1.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-lw6vtWZLjDTGfvojXBLerDko2xi3Sp7BtYtXqW3IsFs="
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
@@ -19,7 +19,8 @@
1919
"0.12.0",
2020
"0.13.0",
2121
"0.14.0",
22-
"0.15.0"
22+
"0.15.0",
23+
"0.15.1"
2324
],
2425
"yanked_versions": {}
2526
}

0 commit comments

Comments
 (0)