Skip to content

Support Bazel Modules and avoid using internal dependencies  #20731

@aminya

Description

@aminya

Is your feature request related to a problem? Please describe.

It would be great if Drake used Bazel modules to manage its dependencies and avoid using internal packages. There are many benefits to using bzlmod such as making it easier to use, having control over the dependency chain, and simplifying the build system of Drake. It would also prevent code duplication and large binaries for the users of Drake as Bazel will share those internal packages instead.

Bazel 7.0 by default uses bzlmod.

Describe the solution you'd like

Using bazel modules with dependencies from a regularly maintained external registry

https://registry.bazel.build/all-modules

Describe alternatives you've considered

Using Microsoft vcpkg
#17218

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions