Migrate to bazel 8, start migrating to bazelmod#1445
Conversation
I worked with @raghav198 on a bug related to this: apparently on MacOS platforms bazel starts inside |
|
Still TODO:
|
|
@asraa @AlexanderViand-Intel do you think we can get this PR in before the Python frontend? I think getting this in with the python version bump would help with the internal patch for Alex's python frontend PR. I will handle the rebase in the internal patch |
asraa
left a comment
There was a problem hiding this comment.
Thanks! I also remember getting a survey from the bazel folks at google to list out the blocking deps for bzlmod migration and at the time I didn't know exactly which were blocking. I'll send them over the remaining ones
| # See the project repo for more details and configuration options | ||
| # https://github.com/hedronvision/bazel-compile-commands-extractor |
There was a problem hiding this comment.
we should use renovatebot to manage the sha update - should we file an issue? eventually we should have some dependency management automated, and bzlmod at least takes care of it for the
|
I think I can fix the remaining frontend issues, almost got it. |
I just had a look and |
PiperOrigin-RevId: 730620084
PiperOrigin-RevId: 730620084
OK I reverted this and now I can't reproduce my original problem... It's concerning but what was happening was the type being passed to the |
|
OK the internal patch is now done and tested, just waiting on a Googler to click the button to merge it. Sorry for the delay all! |
Fixes #332
This PR sets up a hybrid Bazelmod + WORKSPACE configuration, where the "hard" dependencies remain in a workspace file while the supported dependencies are migrated to
MODULE.bazelThis allows us to use the latest bazel version. I also went ahead and bumped versions of various dependencies, including rules_python and rules_hdl, which have material impacts on the project.
Summary of impact:
_maininstead ofheirin many bazel runfiles paths, which broke yosys techmap file finding, lit configuration, and our heir-opt bazel rules.@heir_py_pip_deps_numba//:pkg->@heir_py_pip_deps//numba)littool, so I movedlitto a pip dependency.rules_pythonto use Pyhton3.11 by default (Cf. Which versions of Python should the frontend support? #1370)eigen)@lattigowe have to do@com_github_tuneinsight_lattigo_v6The main dependencies that are still handled by WORKSPACE:
zlibandzstd