Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for bzlmod #2608

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

keith
Copy link
Contributor

@keith keith commented Mar 25, 2024

This adds support for bzlmod, which is bazel's new dependency resolution system.

Theoretically we could now remove the previous dependency management configuration which required flattening all the dependencies, but I left it here for now for users using old versions of bazel.

Fixes: #2334

@keith keith requested a review from a team as a code owner March 25, 2024 17:34
@keith keith mentioned this pull request Mar 25, 2024
@keith
Copy link
Contributor Author

keith commented Mar 25, 2024

this will probably fail CI with the same issue as #2599

@esigo esigo self-assigned this Mar 25, 2024
@keith keith force-pushed the ks/add-support-for-bzlmod branch from ea5e310 to 8ba900a Compare April 12, 2024 19:38
@keith
Copy link
Contributor Author

keith commented Apr 12, 2024

ok I pushed an update here that seems to fix it at least with c++17, it depends on bazelbuild/bazel-central-registry#1810

@keith keith force-pushed the ks/add-support-for-bzlmod branch from 66ae4c3 to f140acc Compare April 12, 2024 21:02
@keith keith force-pushed the ks/add-support-for-bzlmod branch from f140acc to f9c9ce9 Compare April 22, 2024 15:58
@marcalff marcalff added the pr:fix-merge-conflicts Please fix merge conflicts for this pr label Apr 29, 2024
@marcalff
Copy link
Member

marcalff commented May 6, 2024

Hi @keith

Could you merge with a recent main to resolve conflicts,
and investigate the remaining CI failures for bazel if any ?

Thanks,
-- Marc

keith added 8 commits May 6, 2024 13:25
This adds support for bzlmod, which is bazel's new dependency resolution
system.

Theoretically we could now remove the previous dependency management
configuration which required flattening all the dependencies, but I left
it here for now for users using old versions of bazel.
@keith keith force-pushed the ks/add-support-for-bzlmod branch from 8f4db8d to 4d070b8 Compare May 6, 2024 20:54
@keith keith marked this pull request as draft May 6, 2024 22:00
@keith
Copy link
Contributor Author

keith commented May 6, 2024

The windows and asan failures here are real.

@marcalff marcalff removed the pr:fix-merge-conflicts Please fix merge conflicts for this pr label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add bzlmod support
3 participants