Fix bazel build (#73880)

This commit is contained in:
frgossen 2023-11-29 19:31:52 -05:00 committed by GitHub
parent 4bcbbe1f70
commit 453bd049c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -588,6 +588,24 @@ mlir_c_api_cc_library(
],
)
mlir_c_api_cc_library(
name = "CAPITarget",
srcs = ["lib/CAPI/Target/LLVMIR.cpp"],
hdrs = ["include/mlir-c/Target/LLVMIR.h"],
capi_deps = [
":CAPIIR",
],
includes = ["include"],
deps = [
":LLVMToLLVMIRTranslation",
":Support",
":ToLLVMIRTranslation",
":ToLLVMIRTranslationRegistration",
"//third_party/llvm/llvm-project/llvm:Core",
"//third_party/llvm/llvm-project/llvm:Support",
],
)
mlir_c_api_cc_library(
name = "CAPIGPU",
srcs = [