diff options
author | frgossen <frgossen@google.com> | 2023-11-29 19:31:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 19:31:52 -0500 |
commit | 453bd049c87c69e79bc7f76d692cc3f71391cb47 (patch) | |
tree | ba8381af37627e627c1af67c994f241730edb3e1 /utils | |
parent | 4bcbbe1f70d8c8169c8bda75d9d9d4fdf689b1df (diff) | |
download | llvm-453bd049c87c69e79bc7f76d692cc3f71391cb47.zip llvm-453bd049c87c69e79bc7f76d692cc3f71391cb47.tar.gz llvm-453bd049c87c69e79bc7f76d692cc3f71391cb47.tar.bz2 |
Fix bazel build (#73880)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index 0d5c6ac..8896b94 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -589,6 +589,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 = [ "lib/CAPI/Dialect/GPU.cpp", |