Skip to content

Commit f86a338

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

5 files changed

Lines changed: 83 additions & 1 deletion

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
"""bazel-contrib/rules_foreign_cc"""
2+
3+
module(
4+
name = "rules_foreign_cc",
5+
version = "0.14.0",
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.1.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+
21+
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
22+
python.toolchain(python_version = "3.12")
23+
use_repo(python, "python_3_12")
24+
25+
tools = use_extension("@rules_foreign_cc//foreign_cc:extensions.bzl", "tools")
26+
use_repo(
27+
tools,
28+
"cmake_3.23.2_toolchains",
29+
"cmake_src",
30+
"gettext_runtime",
31+
"glib_dev",
32+
"glib_src",
33+
"gnumake_src",
34+
"meson_src",
35+
"ninja_1.12.1_toolchains",
36+
"ninja_build_src",
37+
"pkgconfig_src",
38+
"rules_foreign_cc_framework_toolchains",
39+
)
40+
41+
register_toolchains(
42+
"@rules_foreign_cc_framework_toolchains//:all",
43+
"@cmake_3.23.2_toolchains//:all",
44+
"@ninja_1.12.1_toolchains//:all",
45+
"@python_3_12//:all",
46+
"@rules_foreign_cc//toolchains:all",
47+
)
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.14.0",
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-4PDrsaIiPJmpBKVl5iqihb8dGortoi0Q6iEnWRYkhmw=",
3+
"strip_prefix": "rules_foreign_cc-0.14.0",
4+
"url": "https://github.com/bazel-contrib/rules_foreign_cc/releases/download/0.14.0/rules_foreign_cc-0.14.0.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-zZVG1Cva2Cg9FQJJg9h43JB/Q1fEQMBeZeGWN7CUtGs="
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
@@ -16,7 +16,8 @@
1616
"0.10.1",
1717
"0.11.1",
1818
"0.12.0",
19-
"0.13.0"
19+
"0.13.0",
20+
"0.14.0"
2021
],
2122
"yanked_versions": {}
2223
}

0 commit comments

Comments
 (0)