Skip to content

Commit

Permalink
Add pybind11_bazel release 2.12.0. (bazelbuild#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
junyer authored Apr 8, 2024
1 parent 2836c49 commit cfb7510
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
13 changes: 13 additions & 0 deletions modules/pybind11_bazel/2.12.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
16 changes: 16 additions & 0 deletions modules/pybind11_bazel/2.12.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -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//...'
5 changes: 5 additions & 0 deletions modules/pybind11_bazel/2.12.0/source.json
Original file line number Diff line number Diff line change
@@ -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"
}
3 changes: 2 additions & 1 deletion modules/pybind11_bazel/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
}

0 comments on commit cfb7510

Please sign in to comment.