Skip to content

Commit

Permalink
Add rules_foreign_cc 0.10.1 (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharpe authored Oct 26, 2023
1 parent a77ddd2 commit 4985672
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 15 deletions.
38 changes: 38 additions & 0 deletions modules/rules_foreign_cc/0.10.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

"bazelbuild/rules_foreign_cc"

module(
name = "rules_foreign_cc",
version = "0.10.1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.1.1")
bazel_dep(name = "platforms", version = "0.0.5")
bazel_dep(name = "rules_python", version = "0.20.0")

tools = use_extension("@rules_foreign_cc//foreign_cc:extensions.bzl", "tools")
use_repo(
tools,
"cmake_3.23.2_toolchains",
"cmake_src",
"gnumake_src",
"meson_src",
"ninja_1.11.1_toolchains",
"ninja_build_src",
"pkgconfig_src",
"rules_foreign_cc_framework_toolchains",
)

register_toolchains(
"@rules_foreign_cc_framework_toolchains//:all",
"@rules_foreign_cc//toolchains:built_make_toolchain",
"@rules_foreign_cc//toolchains:built_meson_toolchain",
"@rules_foreign_cc//toolchains:built_pkgconfig_toolchain",
"@rules_foreign_cc//toolchains:preinstalled_autoconf_toolchain",
"@rules_foreign_cc//toolchains:preinstalled_automake_toolchain",
"@rules_foreign_cc//toolchains:preinstalled_m4_toolchain",
"@rules_foreign_cc//toolchains:preinstalled_pkgconfig_toolchain",
"@cmake_3.23.2_toolchains//:all",
"@ninja_1.11.1_toolchains//:all",
)
13 changes: 13 additions & 0 deletions modules/rules_foreign_cc/0.10.1/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,8 +1,9 @@
+
"bazelbuild/rules_foreign_cc"

module(
name = "rules_foreign_cc",
- version = "0.0.0",
+ version = "0.10.1",
compatibility_level = 1,
)

9 changes: 9 additions & 0 deletions modules/rules_foreign_cc/0.10.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
matrix:
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]

tasks:
verify_targets:
name: "Verify build targets"
platform: ${{ platform }}
build_targets:
- '@rules_foreign_cc//toolchains:make_tool'
9 changes: 9 additions & 0 deletions modules/rules_foreign_cc/0.10.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.10.1/rules_foreign_cc-0.10.1.tar.gz",
"integrity": "sha256-R2MDvQ8bBMwxH8JY8XCKX274LTCR5T/Rl3+iA4NCWmo=",
"strip_prefix": "rules_foreign_cc-0.10.1",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-hDvLi+Nx91lvhEd2qRrPfPu0RjiG5w3a/c4N4AiJb3U="
}
}
25 changes: 10 additions & 15 deletions modules/rules_foreign_cc/metadata.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
{
"homepage": "https://bazelbuild.github.io/rules_foreign_cc",
"maintainers": [
{
"github": "jsharpe",
"name": "James Sharpe"
}
],
"repository": [
"github:bazelbuild/rules_foreign_cc"
],
"versions": [
"0.8.0",
"0.9.0"
],
"yanked_versions": {}
"homepage": "https://bazelbuild.github.io/rules_foreign_cc",
"maintainers": [
{
"github": "jsharpe",
"name": "James Sharpe"
}
],
"repository": ["github:bazelbuild/rules_foreign_cc"],
"versions": ["0.8.0", "0.9.0", "0.10.1"],
"yanked_versions": {}
}

0 comments on commit 4985672

Please sign in to comment.