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

Thomas Preud'homme llvmlistbot at llvm.org
Fri Mar 8 11:38:35 PST 2024


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

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


>From 0c75696a11d5c6769bc29ca2aad0961ebb1c4ad6 Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: Fri, 8 Mar 2024 17:18:10 +0000
Subject: [PATCH] [MLIR] Add missing MLIRGPUDialect dep to MLIRSPIRVDialect

This fixes a failure when doing a clean build of
lib/libMLIRSPIRVDialect.a only.
---
 mlir/lib/Dialect/SPIRV/IR/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

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



More information about the Mlir-commits mailing list