Skip to content

[MLIR] Fix build after #131492 #135502

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

Merged
merged 1 commit into from
Apr 12, 2025
Merged

[MLIR] Fix build after #131492 #135502

merged 1 commit into from
Apr 12, 2025

Conversation

jplehr
Copy link
Contributor

@jplehr jplehr commented Apr 12, 2025

After #131492 is appears that linking MLIRAritDialect was missing.

After llvm#131492 is appears that linking MLIRAritDialect was missing.
@jplehr jplehr requested a review from makslevental April 12, 2025 21:14
@llvmbot llvmbot added the mlir label Apr 12, 2025
@llvmbot
Copy link
Member

llvmbot commented Apr 12, 2025

@llvm/pr-subscribers-mlir

Author: Jan Patrick Lehr (jplehr)

Changes

After #131492 is appears that linking MLIRAritDialect was missing.


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

1 Files Affected:

  • (modified) mlir/lib/Target/SMTLIB/CMakeLists.txt (+1)
diff --git a/mlir/lib/Target/SMTLIB/CMakeLists.txt b/mlir/lib/Target/SMTLIB/CMakeLists.txt
index 1fd965551ae47..08e2533058a2f 100644
--- a/mlir/lib/Target/SMTLIB/CMakeLists.txt
+++ b/mlir/lib/Target/SMTLIB/CMakeLists.txt
@@ -10,4 +10,5 @@ add_mlir_translation_library(MLIRExportSMTLIB
   MLIRFuncDialect
   MLIRIR
   MLIRTranslateLib
+  MLIRArithDialect
 )

@jplehr jplehr requested a review from math-fehr April 12, 2025 21:17
Copy link
Contributor

@math-fehr math-fehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for fixing this!

@jplehr jplehr merged commit bbc5d20 into llvm:main Apr 12, 2025
10 of 13 checks passed
@makslevental
Copy link
Contributor

I had already gotten to this here so now there's two in there.... NBD I'll remove one of em here. Thanks for jumping in though!

@jplehr
Copy link
Contributor Author

jplehr commented Apr 12, 2025

Ah! Apologies, missed that it was already taken care of. Thanks!

var-const pushed a commit to ldionne/llvm-project that referenced this pull request Apr 17, 2025
After llvm#131492 is appears that linking MLIRAritDialect was missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants