Skip to content

Commit

Permalink
Add nanobind_bazel v2.4.0
Browse files Browse the repository at this point in the history
Mirrors nanobind v2.4.0. Note that no nanobind v2.3.0 was released
due to a mistake in the release process.
  • Loading branch information
nicholasjng committed Dec 24, 2024
1 parent 977814c commit dfc6741
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
14 changes: 14 additions & 0 deletions modules/nanobind_bazel/2.4.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module(
name = "nanobind_bazel",
version = "2.4.0",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_python", version = "0.39.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")

# Creates a `http_archive` for nanobind and robin-map.
internal_configure = use_extension("//:internal_configure.bzl", "internal_configure_extension")
use_repo(internal_configure, "nanobind", "pypi__typing_extensions")
18 changes: 18 additions & 0 deletions modules/nanobind_bazel/2.4.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
matrix:
bazel:
- 6.x
- 7.x
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows

tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@nanobind_bazel//...'
5 changes: 5 additions & 0 deletions modules/nanobind_bazel/2.4.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://github.com/nicholasjng/nanobind-bazel/releases/download/v2.4.0/nanobind-bazel-2.4.0.tar.gz",
"integrity": "sha256-amllQykgsNtqkrfCfQaLQqDDU//SFa6lFYb6ZTls6ao=",
"strip_prefix": "nanobind-bazel-2.4.0"
}
3 changes: 2 additions & 1 deletion modules/nanobind_bazel/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"1.0.0",
"2.0.0",
"2.1.0",
"2.2.0"
"2.2.0",
"2.4.0"
],
"yanked_versions": {}
}

0 comments on commit dfc6741

Please sign in to comment.