[llvm] Update BUILD.bazel to add @pybind11 deps (PR #72471)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 20:27:06 PST 2023


https://github.com/wenzhi-cui created https://github.com/llvm/llvm-project/pull/72471

Add @pybind11 deps to the _mlirDialectsSparseTensor.so target and to the _mlirDialectsQuant.so target

>From d3185803e207b45252f3a2ada508d9d8d2bf2821 Mon Sep 17 00:00:00 2001
From: wenzhi-cui <40185576+wenzhi-cui at users.noreply.github.com>
Date: Thu, 16 Nov 2023 12:25:18 +0800
Subject: [PATCH] Update BUILD.bazel to add @pybind11 deps

Add @pybind11 deps to the _mlirDialectsSparseTensor.so target and to the _mlirDialectsQuant.so target
---
 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 fcaeb027fc370a5..21ea2f8e6cf7971 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -1022,6 +1022,7 @@ cc_binary(
         ":CAPIIR",
         ":CAPIQuant",
         ":MLIRBindingsPythonHeadersAndDeps",
+        "@pybind11",
     ],
 )
 
@@ -1040,6 +1041,7 @@ cc_binary(
         ":CAPIIR",
         ":CAPISparseTensor",
         ":MLIRBindingsPythonHeadersAndDeps",
+        "@pybind11",
     ],
 )
 



More information about the llvm-commits mailing list