Skip to content

Commit 9d59834

Browse files
[bazel]Add WasmImport target to mlir/BUILD.bazel for llvm#152131
1 parent 4a49b0b commit 9d59834

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7137,6 +7137,26 @@ cc_library(
71377137
],
71387138
)
71397139

7140+
cc_library(
7141+
name = "WasmImport",
7142+
srcs = [
7143+
"lib/Target/Wasm/TranslateRegistration.cpp",
7144+
"lib/Target/Wasm/TranslateFromWasm.cpp",
7145+
],
7146+
hdrs = [
7147+
"include/mlir/Target/Wasm/WasmBinaryEncoding.h",
7148+
"include/mlir/Target/Wasm/WasmImporter.h",
7149+
],
7150+
includes = ["include"],
7151+
deps = [
7152+
":IR",
7153+
":WasmSSADialect",
7154+
":Support",
7155+
":TranslateLib",
7156+
"//llvm:Support",
7157+
],
7158+
)
7159+
71407160
td_library(
71417161
name = "TensorOpsTdFiles",
71427162
srcs = [
@@ -9002,6 +9022,7 @@ cc_library(
90029022
":TargetCpp",
90039023
":TargetSMTLIB",
90049024
":ToLLVMIRTranslationRegistration",
9025+
":WasmImport",
90059026
],
90069027
)
90079028

0 commit comments

Comments
 (0)