File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,24 @@ pybind11_abseil can be built with Bazel or CMake. Instructions for both are belo
2525
2626#### Bzlmod
2727
28- You can depend on the Bazel module and dependencies via a single command in your MODULE.bazel:
28+ You can depend on the Bazel module and dependencies via one of the following commands in your MODULE.bazel:
2929
30+ To depend on a release:
3031```
3132bazel_dep(
3233 name = "pybind11_abseil",
33- version = "selected_version",
34+ version = "<selected_version>",
35+ )
36+ ```
37+
38+ To depend on floating master:
39+ ```
40+ git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
41+
42+ git_repository(
43+ name = "pybind11_abseil",
44+ remote = "https://github.com/pybind/pybind11_abseil.git",
45+ branch = "master",
3446)
3547```
3648
You can’t perform that action at this time.
0 commit comments