Skip to content

Commit

Permalink
Publish bazel-contrib/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharpe committed Feb 11, 2025
1 parent 00f8a1a commit 150c2c7
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 1 deletion.
47 changes: 47 additions & 0 deletions modules/rules_foreign_cc/0.14.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
"""bazel-contrib/rules_foreign_cc"""

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

bazel_dep(name = "bazel_features", version = "1.21.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "rules_cc", version = "0.1.1")
bazel_dep(name = "rules_python", version = "1.1.0")
bazel_dep(name = "rules_shell", version = "0.3.0")

# Dev dependencies
bazel_dep(name = "gazelle", version = "0.41.0", dev_dependency = True, repo_name = "bazel_gazelle")
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True)
bazel_dep(name = "bazel_ci_rules", version = "1.0.0", dev_dependency = True)

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.12")
use_repo(python, "python_3_12")

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

register_toolchains(
"@rules_foreign_cc_framework_toolchains//:all",
"@cmake_3.23.2_toolchains//:all",
"@ninja_1.12.1_toolchains//:all",
"@python_3_12//:all",
"@rules_foreign_cc//toolchains:all",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,9 +1,9 @@
"""bazel-contrib/rules_foreign_cc"""

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

bazel_dep(name = "bazel_features", version = "1.21.0")
11 changes: 11 additions & 0 deletions modules/rules_foreign_cc/0.14.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -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_foreign_cc//toolchains/private:make_tool"
9 changes: 9 additions & 0 deletions modules/rules_foreign_cc/0.14.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-4PDrsaIiPJmpBKVl5iqihb8dGortoi0Q6iEnWRYkhmw=",
"strip_prefix": "rules_foreign_cc-0.14.0",
"url": "https://github.com/bazel-contrib/rules_foreign_cc/releases/download/0.14.0/rules_foreign_cc-0.14.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-zZVG1Cva2Cg9FQJJg9h43JB/Q1fEQMBeZeGWN7CUtGs="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_foreign_cc/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"0.10.1",
"0.11.1",
"0.12.0",
"0.13.0"
"0.13.0",
"0.14.0"
],
"yanked_versions": {}
}

0 comments on commit 150c2c7

Please sign in to comment.