This is important because *Objects targets need to only depend on other *Objects targets, not on the unsuffixed CAPI rules. Depending on how it is linked in the current setup, it can cause duplicate symbols.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This LGTM, but I would wait for Peter to weigh in to make sure.
utils/bazel/llvm-project-overlay/mlir/build_defs.bzl | ||
---|---|---|
34 | Can you document this argument? I think we're getting in to the territory of non-obvious on this one. I would probably just bite the bullet and do the standard "Args:" block, but mostly because I'm used to linters complaining if I don't do exactly that. I would say that header_deps and capi_deps are worth documenting here, at least. |
utils/bazel/llvm-project-overlay/mlir/build_defs.bzl | ||
---|---|---|
34 | How's that? |
utils/bazel/llvm-project-overlay/mlir/build_defs.bzl | ||
---|---|---|
34 | π |
utils/bazel/llvm-project-overlay/mlir/build_defs.bzl | ||
---|---|---|
34 |
Can you document this argument? I think we're getting in to the territory of non-obvious on this one. I would probably just bite the bullet and do the standard "Args:" block, but mostly because I'm used to linters complaining if I don't do exactly that. I would say that header_deps and capi_deps are worth documenting here, at least.