diff options
author | frgossen <frgossen@google.com> | 2023-11-28 22:55:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 22:55:47 -0500 |
commit | 4b8964dfd8b7ec989cd64a3606a364f2ddbbf285 (patch) | |
tree | 92305556524b80316336dcee5a7a5be4443be7a8 /utils | |
parent | 649e8111a95ae0d8814576e9ca74823572ee404b (diff) | |
download | llvm-4b8964dfd8b7ec989cd64a3606a364f2ddbbf285.zip llvm-4b8964dfd8b7ec989cd64a3606a364f2ddbbf285.tar.gz llvm-4b8964dfd8b7ec989cd64a3606a364f2ddbbf285.tar.bz2 |
Fix bazel build (#73741)
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..2a5de55 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", + "//llvm:Core", + "//llvm:Support", + ], +) + +mlir_c_api_cc_library( name = "CAPIGPU", srcs = [ "lib/CAPI/Dialect/GPU.cpp", |