From cfb751078ceb2bb3c9adb884b8e2a71fc386a85c Mon Sep 17 00:00:00 2001 From: Paul Wankadia Date: Mon, 8 Apr 2024 21:59:31 +0000 Subject: [PATCH] Add pybind11_bazel release 2.12.0. (#1788) --- modules/pybind11_bazel/2.12.0/MODULE.bazel | 13 +++++++++++++ modules/pybind11_bazel/2.12.0/presubmit.yml | 16 ++++++++++++++++ modules/pybind11_bazel/2.12.0/source.json | 5 +++++ modules/pybind11_bazel/metadata.json | 3 ++- 4 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 modules/pybind11_bazel/2.12.0/MODULE.bazel create mode 100644 modules/pybind11_bazel/2.12.0/presubmit.yml create mode 100644 modules/pybind11_bazel/2.12.0/source.json diff --git a/modules/pybind11_bazel/2.12.0/MODULE.bazel b/modules/pybind11_bazel/2.12.0/MODULE.bazel new file mode 100644 index 00000000000..ef0c1fb0c21 --- /dev/null +++ b/modules/pybind11_bazel/2.12.0/MODULE.bazel @@ -0,0 +1,13 @@ +# Bazel extensions for pybind11 +module( + name = "pybind11_bazel", + version = "2.12.0", +) + +bazel_dep(name = "bazel_skylib", version = "1.5.0") +bazel_dep(name = "platforms", version = "0.0.9") +bazel_dep(name = "rules_cc", version = "0.0.9") +bazel_dep(name = "rules_python", version = "0.31.0") + +internal_configure = use_extension("//:internal_configure.bzl", "internal_configure_extension") +use_repo(internal_configure, "pybind11") diff --git a/modules/pybind11_bazel/2.12.0/presubmit.yml b/modules/pybind11_bazel/2.12.0/presubmit.yml new file mode 100644 index 00000000000..17686aa15d8 --- /dev/null +++ b/modules/pybind11_bazel/2.12.0/presubmit.yml @@ -0,0 +1,16 @@ +matrix: + platform: + - centos7_java11_devtoolset10 + - debian10 + - ubuntu2004 + - macos + - windows + bazel: + - 6.x + - 7.x +tasks: + build: + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@pybind11_bazel//...' diff --git a/modules/pybind11_bazel/2.12.0/source.json b/modules/pybind11_bazel/2.12.0/source.json new file mode 100644 index 00000000000..8bae87a9348 --- /dev/null +++ b/modules/pybind11_bazel/2.12.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-pYwlxf4GOnAFf6IMuOFfO9oZsQMDBby1M68eRfNqSlU=", + "strip_prefix": "pybind11_bazel-2.12.0", + "url": "https://github.com/pybind/pybind11_bazel/releases/download/v2.12.0/pybind11_bazel-2.12.0.zip" +} diff --git a/modules/pybind11_bazel/metadata.json b/modules/pybind11_bazel/metadata.json index ff71883ec25..7abf5888e7b 100644 --- a/modules/pybind11_bazel/metadata.json +++ b/modules/pybind11_bazel/metadata.json @@ -19,7 +19,8 @@ "2.11.1", "2.11.1.bzl.1", "2.11.1.bzl.2", - "2.11.1.bzl.3" + "2.11.1.bzl.3", + "2.12.0" ], "yanked_versions": {} }