[Bazel] Update for Cpp emitter (2f0750dd2e)

Update the Bazel build for
https://github.com/llvm/llvm-project/commit/2f0750dd2e.

Differential Revision: https://reviews.llvm.org/D109171
This commit is contained in:
Geoffrey Martin-Noble 2021-09-02 10:04:48 -07:00
parent c8439e9a80
commit 43d9cc1e20
1 changed files with 18 additions and 0 deletions

View File

@ -931,6 +931,23 @@ gentbl_cc_library(
deps = [":EmitCTdFiles"],
)
cc_library(
name = "TargetCpp",
srcs = glob([
"lib/Target/Cpp/*.cpp",
"lib/Target/Cpp/*.h",
]),
hdrs = glob(["include/mlir/Target/Cpp/*.h"]),
deps = [
":EmitC",
":IR",
":SCFDialect",
":StandardOps",
":Support",
":Translation",
],
)
##---------------------------------------------------------------------------##
# Async dialect.
##---------------------------------------------------------------------------##
@ -4995,6 +5012,7 @@ cc_library(
deps = [
":FromLLVMIRTranslation",
":SPIRVTranslateRegistration",
":TargetCpp",
":ToLLVMIRTranslationRegistration",
],
)