Skip to content

Commit 7763002

Browse files
authored
[MLIR/Utils] Add missing dep on Arith dialect (#146834)
Fix the following compile error when building libMLIRDialectUtils.a only: In file included from mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h:17, from mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp:9: mlir/include/mlir/Dialect/Arith/IR/Arith.h:28:10: fatal error: mlir/Dialect/Arith/IR/ArithOpsDialect.h.inc: No such file or directory ArithDialect dependency is now needed since 0515449 to create arith.muli op.
1 parent 4e8843e commit 7763002

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Dialect/Utils/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ add_mlir_library(MLIRDialectUtils
66

77
DEPENDS
88
MLIRDialectUtilsIncGen
9+
MLIRArithDialect
910

1011
LINK_LIBS PUBLIC
1112
MLIRIR

0 commit comments

Comments
 (0)