Skip to content

[bazel] Add support for bzlmod module system #55924

Open
@aaronmondal

Description

@aaronmondal

We are currently working on making the Clang/LLVM Bazel overlay available via the bzlmod system. We noticed that parts of our code may be desirable to have in the Clang/LLVM overlay in this repo.

What works

  • We have a working MODULE.bazel file here (ignore the rules_ll specific stuff).
  • An extensions.bzl file to apply the overlay etc. is here, mostly copied from configure.bzl.

What doesn't work

I would expect that we would need to fix the following issues before something like this would be acceptable for upstreaming:

Conclusion

Please let me know whether bzlmod support is something that would have a place in the bazel overlay in this repository. If it is, please also let me know which issues, apart from those already mentioned we would have to address.

Metadata

Metadata

Assignees

Labels

bazel"Peripheral" support tier build system: utils/bazel

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions