[llvm] [mlir] [bazel][mlir] Add missing deps for Mesh transforms (PR #84581)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 14:40:07 PST 2024
https://github.com/kuhar updated https://github.com/llvm/llvm-project/pull/84581
>From ade0fc749146614a935a10c03cbd897f8122fb23 Mon Sep 17 00:00:00 2001
From: Jakub Kuderski <jakub at nod-labs.com>
Date: Fri, 8 Mar 2024 17:33:56 -0500
Subject: [PATCH 1/2] [bazel][mlir] Add missing deps for Mesh transforms
---
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 2 ++
1 file changed, 2 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index cadcbcc5a0922b..3be8f34ae0f4d5 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -3410,8 +3410,10 @@ cc_library(
":ArithDialect",
":ArithUtils",
":ControlFlowDialect",
+ ":ControlFlowInterfaces",
":DialectUtils",
":FuncDialect",
+ ":FunctionInterfaces",
":IR",
":MeshDialect",
":MeshShardingInterface",
>From c659737c881d03a95f35a1b29b2959454139f59f Mon Sep 17 00:00:00 2001
From: Jakub Kuderski <jakub at nod-labs.com>
Date: Fri, 8 Mar 2024 17:39:56 -0500
Subject: [PATCH 2/2] Add cmake deps
---
mlir/lib/Dialect/Mesh/Transforms/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mlir/lib/Dialect/Mesh/Transforms/CMakeLists.txt b/mlir/lib/Dialect/Mesh/Transforms/CMakeLists.txt
index 28af820440076c..212ea6d6948b27 100644
--- a/mlir/lib/Dialect/Mesh/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/Mesh/Transforms/CMakeLists.txt
@@ -17,7 +17,9 @@ add_mlir_dialect_library(MLIRMeshTransforms
MLIRArithDialect
MLIRArithUtils
MLIRControlFlowDialect
+ MLIRControlFlowInterfaces
MLIRFuncDialect
+ MLIRFunctionInterfaces
MLIRIR
MLIRMeshDialect
MLIRPass
More information about the llvm-commits
mailing list