[Mlir-commits] [mlir] [MLIR] Add missing MLIRGPUDialect dep to MLIRSPIRVDialect (PR #84554)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Mar 8 11:39:03 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-spirv

Author: Thomas Preud'homme (RoboTux)

<details>
<summary>Changes</summary>

This fixes a failure when doing a clean build of
lib/libMLIRSPIRVDialect.a only.


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


1 Files Affected:

- (modified) mlir/lib/Dialect/SPIRV/IR/CMakeLists.txt (+1) 


``````````diff
diff --git a/mlir/lib/Dialect/SPIRV/IR/CMakeLists.txt b/mlir/lib/Dialect/SPIRV/IR/CMakeLists.txt
index 2b5cedafae1e85..b185264211474f 100644
--- a/mlir/lib/Dialect/SPIRV/IR/CMakeLists.txt
+++ b/mlir/lib/Dialect/SPIRV/IR/CMakeLists.txt
@@ -27,6 +27,7 @@ add_mlir_dialect_library(MLIRSPIRVDialect
   ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/SPIRV
 
   DEPENDS
+  MLIRGPUDialect
   MLIRSPIRVAttributeIncGen
   MLIRSPIRVAttrUtilsGen
   MLIRSPIRVAvailabilityIncGen

``````````

</details>


https://github.com/llvm/llvm-project/pull/84554


More information about the Mlir-commits mailing list