patches = ["//patches:pybind11_bazel.patch"], # see pybind/pybind11_bazel#38 commit = "faf56fb3df11287f26dbc66fdedf60a2fc2c6631", patches = ["//patches:pybind11_bazel.patch"], patch_args = ["-p1"], remote = "https://github.com/pybind/pybind11_bazel.git", )75...
2 I am trying to generate a wheel file using bazel, for a target that has pybind dependencies. The package by itself works fine (though testing), but when I'm packing it, the .so file is missing from the site_packges folder. This is my build file: load("@pybind11_bazel//:build...
Getting this a lot: DEBUG: Rule 'pybind11_bazel~~internal_configure_extension~pybind11' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-QR93OAxDeYUGs57FlPx/K1MqE8TbZ0/PKxyjRO+u+2g="...
"@pybind11//:msvc_compiler": [], "//conditions:default": [ @@ -59,6 +75,33 @@ def pybind_extension( **kwargs ) + native.cc_binary( + name = name + ".dll", + target_compatible_with = select({ + "@platforms//os:windows": [], + "//conditions:default": [...
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension") load("@rules_python//python:defs.bzl", "py_binary") py_binary( name = "main", srcs = ["main.py"], ) pybind_extension( name = "my_pb_mod_ext", srcs = ["my_pb_mod.cc"], ) py_library( name = "my_pb_mod"...
versions.bzl. # We recommend using the same version your team is already standardized on. python_version = "3.8", ) load("@python38//:defs.bzl", "interpreter") ... # pybind11_bazel load("@pybind11_bazel//:python_configure.bzl", "python_configure") python_configure( name = "local_...
Bump pybind11 version to 2.13.3 ba5224e hofbi changed the title Bump pybind11 version to 2.13.3 Bump pybind11 version to 2.13.5 Sep 3, 2024 hofbi commented Sep 3, 2024 View reviewed changes MODULE.bazel Outdated Show resolved Update MODULE.bazel 8e060eb hofbi commented Sep 20,...
package(default_visibility = ["//visibility:public"]) load("@pybind11_bazel//:build_defs.bzl", "pybind_library") load("@pybind11_bazel//:build_defs.bzl", "pybind_extension") pybind_library( name = "cpp_example", srcs = ["cpp_example.cc"], hdrs = ["cpp_example.h"], deps = [...
junyer merged 1 commit into pybind:master from keith:ks/add-wl-z-undefs-to-linux-links Jun 28, 2024 +4 −1 Conversation 6 Commits 1 Checks 0 Files changed 1 Conversation Contributor keith commented Jun 27, 2024 If the user's toolchain / global settings imply -z,defs, this is neces...