[llvm] [bazel] Remove :CAPIGPU as a dependency of :MLIRPythonBindingsCore. (PR #74133)

Peter Hawkins via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 11:46:32 PST 2023


https://github.com/hawkinsp created https://github.com/llvm/llvm-project/pull/74133

This dependency appears unused and it bloats the size of the Python bindings for non-GPU users.

>From 14786e45725dbdd373efa4315398899978de6dfb Mon Sep 17 00:00:00 2001
From: Peter Hawkins <phawkins at google.com>
Date: Fri, 1 Dec 2023 19:40:35 +0000
Subject: [PATCH] [bazel] Remove :CAPIGPU as a dependency of
 :MLIRPythonBindingsCore.

This dependency appears unused and it bloats the size of the Python
bindings for non-GPU users.
---
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 857aa3491d75e69..52c8dad17d4394b 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -941,7 +941,6 @@ cc_library(
     deps = [
         ":CAPIAsync",
         ":CAPIDebug",
-        ":CAPIGPU",
         ":CAPIIR",
         ":CAPIInterfaces",
         ":MLIRBindingsPythonHeadersAndDeps",
@@ -964,7 +963,6 @@ cc_library(
     deps = [
         ":CAPIAsyncHeaders",
         ":CAPIDebugHeaders",
-        ":CAPIGPUHeaders",
         ":CAPIIRHeaders",
         ":MLIRBindingsPythonHeaders",
         "//llvm:Support",
@@ -984,7 +982,6 @@ cc_library(
     deps = [
         ":CAPIAsyncObjects",
         ":CAPIDebugObjects",
-        ":CAPIGPUObjects",
         ":CAPIIRObjects",
         ":CAPIInterfacesObjects",
     ],



More information about the llvm-commits mailing list