-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mlir] Fix missing FuncOps.h.inc #97885
Conversation
@llvm/pr-subscribers-mlir-affine @llvm/pr-subscribers-mlir Author: Julien Schueller (jschueller) ChangesCloses #84568 Similar to #71691 /cc @tblah Full diff: https://github.com/llvm/llvm-project/pull/97885.diff 1 Files Affected:
diff --git a/mlir/lib/Dialect/Affine/Analysis/CMakeLists.txt b/mlir/lib/Dialect/Affine/Analysis/CMakeLists.txt
index 61e49b0da8b2d..3a1996349dbed 100644
--- a/mlir/lib/Dialect/Affine/Analysis/CMakeLists.txt
+++ b/mlir/lib/Dialect/Affine/Analysis/CMakeLists.txt
@@ -8,6 +8,9 @@ add_mlir_dialect_library(MLIRAffineAnalysis
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Affine
+ DEPENDS
+ MLIRFuncOpsIncGen
+
LINK_LIBS PUBLIC
MLIRAffineDialect
MLIRAnalysis
|
hello @tblah, maybe this could be merged ? |
Yeah this LGTM. Do you need help merging? |
yes, I dont have write access, could you please merge it ? |
@@ -8,6 +8,9 @@ add_mlir_dialect_library(MLIRAffineAnalysis | |||
ADDITIONAL_HEADER_DIRS | |||
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Affine | |||
|
|||
DEPENDS | |||
MLIRFuncOpsIncGen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seem like the right dependency to me: we should depend on the FuncDialect here. The IncGen targets are meant to be depending on by the dialects themselves.
You can also see this as a transitive dependency issue: you're skipping one step in the dependency chain.
Closes llvm#84568 Similar to llvm#71691 (reproduce with make -j1)
Closes #84568
Similar to #71691 (reproduce with make -j1)
/cc @tblah