Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/tools/mlir-opt/CMakeLists.txt | ||
---|---|---|
47 | Can you clarify which header included from mlir-opt.cpp depends on these? |
mlir/tools/mlir-opt/CMakeLists.txt | ||
---|---|---|
47 | InitAllDialects.h. Do you want me to add as a comment to the code? Happy to send out a patch for it if so. |
mlir/tools/mlir-opt/CMakeLists.txt | ||
---|---|---|
47 | I'd rather cut the dependency :) It seems that this is due to template initialization, we could get away with an indirection, I'll look into this. |
We saw some broken windows builds this morning, but I think there is a better fix. In general, I don't think everything should depend on intrinsics_gen.. In this case, MLIROptMain was missing a PUBLIC dependence on it's libraries (including Linalg) which was (I believe) the root of the problem.
Thanks for the pointer! Yeah that's better. Sent https://reviews.llvm.org/D79574 to remove the redundancy DEPENDS.
Can you clarify which header included from mlir-opt.cpp depends on these?