Skip to content

Commit 8c2593b

Browse files
GMNGeoffreymemfrob
authored andcommitted
[Bazel] Update for Cpp emitter (2f0750dd2e)
Update the Bazel build for llvm/llvm-project@2f0750dd2e. Differential Revision: https://reviews.llvm.org/D109171
1 parent e314dab commit 8c2593b

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
@@ -931,6 +931,23 @@ gentbl_cc_library(
931931
deps = [":EmitCTdFiles"],
932932
)
933933

934+
cc_library(
935+
name = "TargetCpp",
936+
srcs = glob([
937+
"lib/Target/Cpp/*.cpp",
938+
"lib/Target/Cpp/*.h",
939+
]),
940+
hdrs = glob(["include/mlir/Target/Cpp/*.h"]),
941+
deps = [
942+
":EmitC",
943+
":IR",
944+
":SCFDialect",
945+
":StandardOps",
946+
":Support",
947+
":Translation",
948+
],
949+
)
950+
934951
##---------------------------------------------------------------------------##
935952
# Async dialect.
936953
##---------------------------------------------------------------------------##
@@ -4995,6 +5012,7 @@ cc_library(
49955012
deps = [
49965013
":FromLLVMIRTranslation",
49975014
":SPIRVTranslateRegistration",
5015+
":TargetCpp",
49985016
":ToLLVMIRTranslationRegistration",
49995017
],
50005018
)

0 commit comments

Comments
 (0)