[Mlir-commits] [mlir] 82cb22e - [MLIR] Add missing MLIRLLVMDialect dep to MLIRMathToLibm (#113563)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Oct 28 14:50:27 PDT 2024
Author: Thomas Preud'homme
Date: 2024-10-28T22:50:23+01:00
New Revision: 82cb22e735be24acf5aac594e519935fc43f0aec
URL: https://github.com/llvm/llvm-project/commit/82cb22e735be24acf5aac594e519935fc43f0aec
DIFF: https://github.com/llvm/llvm-project/commit/82cb22e735be24acf5aac594e519935fc43f0aec.diff
LOG: [MLIR] Add missing MLIRLLVMDialect dep to MLIRMathToLibm (#113563)
This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRMathToLibm.a only:
```
In file included from llvm/include/llvm/IR/Module.h:22,
from mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h:37,
from mlir/lib/Conversion/MathToLibm/MathToLibm.cpp:13
llvm/include/llvm/IR/Attributes.h:90:14: fatal error: llvm/IR/Attributes.inc: No such file or directory
```
Added:
Modified:
mlir/lib/Conversion/MathToLibm/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/MathToLibm/CMakeLists.txt b/mlir/lib/Conversion/MathToLibm/CMakeLists.txt
index 61c46e9bfe250e..0a4eb97474f3ab 100644
--- a/mlir/lib/Conversion/MathToLibm/CMakeLists.txt
+++ b/mlir/lib/Conversion/MathToLibm/CMakeLists.txt
@@ -14,6 +14,7 @@ add_mlir_conversion_library(MLIRMathToLibm
MLIRArithDialect
MLIRDialectUtils
MLIRFuncDialect
+ MLIRLLVMDialect
MLIRMathDialect
MLIRPass
MLIRTransformUtils
More information about the Mlir-commits
mailing list