[llvm] Adding missing dependencies to BUILD.bazel (PR #84235)

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 13:05:17 PST 2024


https://github.com/mmilanifard updated https://github.com/llvm/llvm-project/pull/84235

>From 138f8d60c4015a7b5a1311944dbbfc8808bb1ff9 Mon Sep 17 00:00:00 2001
From: mmilanifard <32752864+mmilanifard at users.noreply.github.com>
Date: Wed, 6 Mar 2024 12:59:17 -0800
Subject: [PATCH] Adding missing dependencies to BUILD.bazel

Build fix after (#84007).
---
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index d2bacbb6ce47d6..89ed837fc10fa5 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -6187,6 +6187,9 @@ cc_library(
         ":NVVMToLLVMIRTranslation",
         ":TargetLLVM",
         ":ToLLVMIRTranslation",
+        "@cuda//:cuda_headers",
+        "@cuda//:cusparse_static",
+        "@cuda//:libcuda",
         ":config",
         "//llvm:NVPTXCodeGen",
         "//llvm:Support",



More information about the llvm-commits mailing list