[Mlir-commits] [mlir] c296d2d - [MLIR] mlir-opt needs PUBLIC dependence
Stephen Neuendorffer
llvmlistbot at llvm.org
Tue May 5 12:40:29 PDT 2020
Author: Stephen Neuendorffer
Date: 2020-05-05T12:39:28-07:00
New Revision: c296d2dc53d5c11ce0de307ae17fc3404f7de80d
URL: https://github.com/llvm/llvm-project/commit/c296d2dc53d5c11ce0de307ae17fc3404f7de80d
DIFF: https://github.com/llvm/llvm-project/commit/c296d2dc53d5c11ce0de307ae17fc3404f7de80d.diff
LOG: [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.
Added:
Modified:
mlir/tools/mlir-opt/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/tools/mlir-opt/CMakeLists.txt b/mlir/tools/mlir-opt/CMakeLists.txt
index ca39f37a8d8d..2cf9023745ae 100644
--- a/mlir/tools/mlir-opt/CMakeLists.txt
+++ b/mlir/tools/mlir-opt/CMakeLists.txt
@@ -39,7 +39,7 @@ add_mlir_library(MLIRMlirOptMain
EXCLUDE_FROM_LIBMLIR
- LINK_LIBS
+ LINK_LIBS PUBLIC
${LIBS}
DEPENDS
More information about the Mlir-commits
mailing list