Skip to content

Conversation

@jschueller
Copy link
Contributor

@jschueller jschueller commented Jul 6, 2024

Closes #84568

Similar to #71691 (reproduce with make -j1)

/cc @tblah

@llvmbot
Copy link
Member

llvmbot commented Jul 6, 2024

@llvm/pr-subscribers-mlir-affine

@llvm/pr-subscribers-mlir

Author: Julien Schueller (jschueller)

Changes

Closes #84568

Similar to #71691

/cc @tblah


Full diff: https://github.com/llvm/llvm-project/pull/97885.diff

1 Files Affected:

  • (modified) mlir/lib/Dialect/Affine/Analysis/CMakeLists.txt (+3)
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

@jschueller
Copy link
Contributor Author

hello @tblah, maybe this could be merged ?

@tblah
Copy link
Contributor

tblah commented Jul 29, 2024

hello @tblah, maybe this could be merged ?

Yeah this LGTM. Do you need help merging?

@jschueller
Copy link
Contributor Author

yes, I dont have write access, could you please merge it ?

@tblah tblah merged commit 1f38301 into llvm:main Jul 29, 2024
@jschueller jschueller deleted the funcopsinc branch July 29, 2024 12:03
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Affine

DEPENDS
MLIRFuncOpsIncGen
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

18.1.0 build from source missing mlir/Dialect/Func/IR/FuncOps.h.inc?

4 participants