mirror of https://github.com/llvm/torch-mlir
0409595ccc
lib/Dialect/Torch/Utils/Utils.cpp includes TorchOps.h, which, by way of included header files, refers to both TorchOps.h.inc as well as TorchTypes.h.inc. However, the build rules do not specify the dependency of the `TorchMLIRTorchUtils` target on the TableGen generated header files, causing spurious build errors. This patch fixes the problem by adding `MLIRTorchOpsIncGen` and `MLIRTorchTypesIncGen` to the list of dependencies of `TorchMLIRTorchUtils`. |
||
---|---|---|
.. | ||
CAPI | ||
Conversion | ||
Dialect | ||
RefBackend | ||
CMakeLists.txt | ||
InitAll.cpp |