Use the simplified repo rules from https://github.com/llvm/llvm-project/commit/934f084.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM with a few fixes
utils/bazel/examples/http_archive/WORKSPACE | ||
---|---|---|
30 | I believe this has been deprecated since initial release (https://docs.bazel.build/versions/0.17.1/be/workspace.html#new_http_archive) and removed since 0.23.0 (https://docs.bazel.build/versions/0.23.0/be/workspace.html). You should just be able to use http_archive | |
38 | This was broken before too, but we need to import llvm_disable_optional_support_deps as well | |
utils/bazel/examples/submodule/WORKSPACE | ||
27 | Same as above. We should be loading llvm_disable_optional_support_deps here |
utils/bazel/examples/submodule/WORKSPACE | ||
---|---|---|
21 | Nit: I think I prefer not calling this "archive" here. It's not an archive in this case. I thought llvm-raw was a decent name that worked for both submodule and http_archive. |
Per comment on https://reviews.llvm.org/D107714 this new format actually breaks the repository rules for setting up dependencies. I'm going to revert that commit for now and we should hold off on this too
Thanks Geoffrey, sorry that my first attempt was quite sloppy. Could you take another look?
Not at all! Thanks for this cleanup :-) I was somewhat at a loss for how to avoid the double http_archive thing.
I believe this has been deprecated since initial release (https://docs.bazel.build/versions/0.17.1/be/workspace.html#new_http_archive) and removed since 0.23.0 (https://docs.bazel.build/versions/0.23.0/be/workspace.html). You should just be able to use http_archive