Skip to content

Commit c296d2d

Browse files
[MLIR] mlir-opt needs PUBLIC dependence
We see intermittent build errors on the windows buildbot because mlir-opt is including Linalg headers which haven't been built yet. This dependence should be resolved by declaring a PUBLIC dependence on the Linalg library when building MLIROptMain.
1 parent 9142c0b commit c296d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/tools/mlir-opt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ add_mlir_library(MLIRMlirOptMain
3939

4040
EXCLUDE_FROM_LIBMLIR
4141

42-
LINK_LIBS
42+
LINK_LIBS PUBLIC
4343
${LIBS}
4444

4545
DEPENDS

0 commit comments

Comments
 (0)