[llvm] [mlir][amdgpu] Fix bazel build (PR #78820)
Jeremy Kun via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 16:27:15 PST 2024
https://github.com/j2kun created https://github.com/llvm/llvm-project/pull/78820
Broken by https://github.com/llvm/llvm-project/commit/b7360fbe8ca0c9411e89fafd654856c484f84f5e
>From 7866fa4df00d33ab35f3b171a1ffbacceb7e44ac Mon Sep 17 00:00:00 2001
From: Jeremy Kun <jkun at google.com>
Date: Fri, 19 Jan 2024 16:16:28 -0800
Subject: [PATCH] [mlir][amdgpu] Fix bazel build
Broken by https://github.com/llvm/llvm-project/commit/b7360fbe8ca0c9411e89fafd654856c484f84f5e
---
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 94093570cfeafba..cd3236b3f5a3d2d 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -1530,10 +1530,16 @@ cc_library(
":AMDGPUUtils",
":ArithDialect",
":ControlFlowDialect",
+ ":FuncDialect",
+ ":GPUDialect",
":IR",
+ ":MemRefDialect",
":Pass",
+ ":Support",
":TransformUtils",
":Transforms",
+ ":VectorDialect",
+ "//llvm:Support",
],
)
@@ -6272,7 +6278,7 @@ cc_library(
cc_library(
name = "NVVMToLLVM",
- srcs = glob(["lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp"]),
+ srcs = ["lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp"],
hdrs = glob(["include/mlir/Conversion/NVVMToLLVM/*.h"]),
includes = ["include"],
deps = [
More information about the llvm-commits
mailing list