Only require one intermediate repository instead of two.
Fewer parameters in llvm_config.
Second attempt of https://reviews.llvm.org/D107714, this time also updating third_party_build and deps_impl paths.
Paths
| Differential D108274
Simplify setting up LLVM as bazel external repo ClosedPublic Authored by csigg on Aug 18 2021, 12:08 AM.
Details
Summary Only require one intermediate repository instead of two. Second attempt of https://reviews.llvm.org/D107714, this time also updating third_party_build and deps_impl paths.
Diff Detail
Event TimelineComment Actions Huh I guess this works. To me the labels having //utils/bazel in them is pretty confusing because the WORKSPACE file is under utils/bazel already... Then again, making the way this loads the llvm-project repository consistent with how a dependency would load it is nice I guess. Let me make sure that this works for dependent projects (I missed some subtleties on the last one) Comment Actions Although as a counterpoint, maybe this means that all labels here and in the llvm-project-overlay will reference things relative to the LLVM root, so maybe that's less confusing. I probably just got used to the way things were. I tried this out with the IREE build and it seems to work fine. This revision is now accepted and ready to land.Aug 18 2021, 6:30 PM Closed by commit rG81d5412439ef: Simplify setting up LLVM as bazel external repo (authored by csigg). · Explain WhyAug 19 2021, 12:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 367413 utils/bazel/WORKSPACE
utils/bazel/configure.bzl
utils/bazel/examples/submodule/WORKSPACE
utils/bazel/terminfo.bzl
utils/bazel/zlib.bzl
|