Bump `nanobind` to stable v1.4.0 tag (#1626)

This seems to reduce binding sizes even further, with a wheel size of
175KB on my local machine (macOS 13.4.1).
This commit is contained in:
Nicholas Junge 2023-07-11 10:56:51 +02:00 committed by GitHub
parent a092f8222c
commit cb39b7150d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,7 @@ def benchmark_deps():
new_git_repository( new_git_repository(
name = "nanobind", name = "nanobind",
remote = "https://github.com/wjakob/nanobind.git", remote = "https://github.com/wjakob/nanobind.git",
commit = "1ffbfe836c9dac599496a170274ee0075094a607", # v0.2.0 tag = "v1.4.0",
shallow_since = "1677873085 +0100",
build_file = "@//bindings/python:nanobind.BUILD", build_file = "@//bindings/python:nanobind.BUILD",
recursive_init_submodules = True, recursive_init_submodules = True,
) )

View File

@ -31,6 +31,7 @@ cc_library(
"src/nb_internals.cpp", "src/nb_internals.cpp",
"src/nb_internals.h", "src/nb_internals.h",
"src/nb_ndarray.cpp", "src/nb_ndarray.cpp",
"src/nb_static_property.cpp",
"src/nb_type.cpp", "src/nb_type.cpp",
"src/trampoline.cpp", "src/trampoline.cpp",
], ],