Skip to content

Commit 4b8964d

Browse files
authored
Fix bazel build (#73741)
1 parent 649e811 commit 4b8964d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,24 @@ mlir_c_api_cc_library(
588588
],
589589
)
590590

591+
mlir_c_api_cc_library(
592+
name = "CAPITarget",
593+
srcs = ["lib/CAPI/Target/LLVMIR.cpp"],
594+
hdrs = ["include/mlir-c/Target/LLVMIR.h"],
595+
capi_deps = [
596+
":CAPIIR",
597+
],
598+
includes = ["include"],
599+
deps = [
600+
":LLVMToLLVMIRTranslation",
601+
":Support",
602+
":ToLLVMIRTranslation",
603+
":ToLLVMIRTranslationRegistration",
604+
"//llvm:Core",
605+
"//llvm:Support",
606+
],
607+
)
608+
591609
mlir_c_api_cc_library(
592610
name = "CAPIGPU",
593611
srcs = [

0 commit comments

Comments
 (0)