Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg committed May 8, 2024
1 parent 80af04b commit 79d3262
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion native/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ pybind_library(
],
)


pybind_extension(
name="extension",
srcs=[
Expand All @@ -379,6 +378,10 @@ pybind_extension(
":dataloader_extension",
":metrics_extension",
],
linkopts = select({
"@platforms//os:macos": ["-undefined", "dynamic_lookup"],
"//conditions:default": [],
}),
)

py_test(
Expand Down
5 changes: 3 additions & 2 deletions native/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ cc_library(
""",
)

pybind11_bazel_version = "2.12.0"
pybind11_bazel_version = "5a8209f6ddcc848272e27a36a5fc2b79e7438374"

http_archive(
name = "pybind11_bazel",
strip_prefix = "pybind11_bazel-" + pybind11_bazel_version,
urls = ["https://github.com/pybind/pybind11_bazel/archive/v" + pybind11_bazel_version + ".tar.gz"],
urls = ["https://github.com/Lalaland/pybind11_bazel/archive/" + pybind11_bazel_version + ".tar.gz"],
sha256 = "cc9bd704ec128049f6b0c7a64313a690a3f53dac2f040e9d00d87cf33d45d9c1",
)

pybind11_version = 'fab1eebe2c4c52e0abac249f3d058787bc83b5ec'
Expand Down

0 comments on commit 79d3262

Please sign in to comment.