[MLIR] mlir-opt needs PUBLIC dependence
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Tue, 5 May 2020 19:26:48 +0000 (12:26 -0700)
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Tue, 5 May 2020 19:39:28 +0000 (12:39 -0700)
commitc296d2dc53d5c11ce0de307ae17fc3404f7de80d
tree848edd7990141f622f198b1053d55681de3b49c6
parent9142c0b46bfea13d9348ab3d1d706a10ad9e5c8e
[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.
mlir/tools/mlir-opt/CMakeLists.txt