[Mlir-commits] [mlir] 7db4cac - [MLIR] Add missing MLIRLLVMDialect dep to MLIRLinalgToStandard (#113561)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Oct 28 14:53:42 PDT 2024


Author: Thomas Preud'homme
Date: 2024-10-28T22:53:39+01:00
New Revision: 7db4cacfd72b64de8460509d07a22b9142df85f6

URL: https://github.com/llvm/llvm-project/commit/7db4cacfd72b64de8460509d07a22b9142df85f6
DIFF: https://github.com/llvm/llvm-project/commit/7db4cacfd72b64de8460509d07a22b9142df85f6.diff

LOG: [MLIR] Add missing MLIRLLVMDialect dep to MLIRLinalgToStandard (#113561)

This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRLinalgToStandard.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/LinalgToStandard/LinalgToStandard.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/LinalgToStandard/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt b/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
index cbe85789b29a37..7fc4af54031855 100644
--- a/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
+++ b/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
@@ -15,6 +15,7 @@ add_mlir_conversion_library(MLIRLinalgToStandard
   MLIRIR
   MLIRLinalgDialect
   MLIRLinalgTransforms
+  MLIRLLVMDialect
   MLIRMemRefDialect
   MLIRPass
   MLIRSCFDialect


        


More information about the Mlir-commits mailing list