Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11_abseil
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11_abseil
Commits
9673d12a
Commit
9673d12a
authored
Feb 15, 2024
by
pybind11_abseil authors
Committed by
Copybara-Service
Feb 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify README around Bzlmod use.
PiperOrigin-RevId: 607462173
parent
dfb81fec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
README.md
+14
-2
No files found.
README.md
View file @
9673d12a
...
...
@@ -25,12 +25,24 @@ pybind11_abseil can be built with Bazel or CMake. Instructions for both are belo
#### Bzlmod
You can depend on the Bazel module and dependencies via
a single command
in your MODULE.bazel:
You can depend on the Bazel module and dependencies via
one of the following commands
in your MODULE.bazel:
To depend on a release:
```
bazel_dep(
name = "pybind11_abseil",
version = "selected_version",
version = "<selected_version>",
)
```
To depend on floating master:
```
git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "pybind11_abseil",
remote = "https://github.com/pybind/pybind11_abseil.git",
branch = "master",
)
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment