Skip to content

Commit

Permalink
add python bindings dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
j2kun committed Jan 27, 2024
1 parent e83489c commit aee4e06
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,23 @@ git_repository(
remote = "https://github.com/google/or-tools.git",
shallow_since = "1647023481 +0100",
)

http_archive(
name = "pybind11_bazel",
strip_prefix = "pybind11_bazel-8889d39b2b925b2a47519ae09402a96f00ccf2b4",
urls = ["https://github.com/pybind/pybind11_bazel/archive/8889d39b2b925b2a47519ae09402a96f00ccf2b4.zip"],
)

http_archive(
name = "pybind11",
build_file = "@pybind11_bazel//:pybind11.BUILD",
strip_prefix = "pybind11-2.10.3",
urls = ["https://github.com/pybind/pybind11/archive/v2.10.3.tar.gz"],
)

load("@pybind11_bazel//:python_configure.bzl", "python_configure")

python_configure(
name = "local_config_python",
python_interpreter_target = interpreter,
)

0 comments on commit aee4e06

Please sign in to comment.