Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] #2359

Merged
merged 4 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions modules/rules_foreign_cc/0.11.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
"bazelbuild/rules_foreign_cc"

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

bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.5")
bazel_dep(name = "rules_python", version = "0.23.1")

# Dev dependencies
bazel_dep(name = "gazelle", version = "0.34.0", dev_dependency = True, repo_name = "bazel_gazelle")
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc")
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)

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

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.0_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.0_toolchains//:all",
"@python_3_9//: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 @@
"bazelbuild/rules_foreign_cc"

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

bazel_dep(name = "bazel_skylib", version = "1.3.0")
9 changes: 9 additions & 0 deletions modules/rules_foreign_cc/0.11.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
matrix:
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
jsharpe marked this conversation as resolved.
Show resolved Hide resolved

tasks:
verify_targets:
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
name: "Verify build targets"
platform: ${{ platform }}
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
jsharpe marked this conversation as resolved.
Show resolved Hide resolved
build_targets:
- "@rules_foreign_cc//toolchains:make_tool"
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
jsharpe marked this conversation as resolved.
Show resolved Hide resolved
9 changes: 9 additions & 0 deletions modules/rules_foreign_cc/0.11.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-SzPWLPEJvMzyhrMO1xIRKcw0z09O2dihHzjZEI9AunQ=",
"strip_prefix": "rules_foreign_cc-0.11.1",
"url": "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.11.1/rules_foreign_cc-0.11.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-s2c0wbt8rD0JkCgTVu3Z6N89kFOElUETStlgjf3Pcsc="
},
"patch_strip": 1
}
28 changes: 18 additions & 10 deletions modules/rules_foreign_cc/metadata.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
{
"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": {}
"homepage": "https://github.com/bazel-contrib/rules_foreign_cc",
"maintainers": [
{
"email": "[email protected]",
"github": "jsharpe",
"name": "James Sharpe"
}
],
"repository": [
"github:bazelbuild/rules_foreign_cc"
],
"versions": [
"0.8.0",
"0.9.0",
"0.10.1",
"0.11.1"
],
"yanked_versions": {}
}
Loading