Skip to content

Commit 9e16792

Browse files
authored
[mlir][bzl] Add CAPIIndex rule. (#144248)
1 parent 84ff1bd commit 9e16792

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,23 @@ mlir_c_api_cc_library(
535535
],
536536
)
537537

538+
mlir_c_api_cc_library(
539+
name = "CAPIIndex",
540+
srcs = [
541+
"lib/CAPI/Dialect/Index.cpp",
542+
],
543+
hdrs = [
544+
"include/mlir-c/Dialect/Index.h",
545+
],
546+
capi_deps = [
547+
":CAPIIR",
548+
],
549+
includes = ["include"],
550+
deps = [
551+
":IndexDialect",
552+
],
553+
)
554+
538555
mlir_c_api_cc_library(
539556
name = "CAPILinalg",
540557
srcs = [

0 commit comments

Comments
 (0)