mirror of https://github.com/llvm/torch-mlir
Add CMake dep to Func dialect (#1196)
The Torch dialect has an include to `mlir/Dialect/Func/IR/FuncOps.h` and should therefore have a CMake dependency to the MLIRFuncDialect. Otherwise, the build can fail since it may occur that `mlir/Dialect/Func/IR/FuncOps.h.inc` isn't generated yet.pull/1199/head
parent
f83a905856
commit
202076c6e3
|
@ -16,6 +16,7 @@ add_mlir_library(TorchMLIRTorchDialect
|
|||
Core
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRFuncDialect
|
||||
MLIRIR
|
||||
MLIRSupport
|
||||
MLIRControlFlowInterfaces
|
||||
|
|
Loading…
Reference in New Issue