refine onnx build
This commit is contained in:
parent
f74023467a
commit
4aa456585e
|
@ -15,6 +15,9 @@ gentbl(
|
||||||
td_includes = ["."],
|
td_includes = ["."],
|
||||||
td_srcs = [
|
td_srcs = [
|
||||||
"ONNXOps.td.inc",
|
"ONNXOps.td.inc",
|
||||||
|
# "//src/Interface:PromotableConstOperandsOpInterface.td",
|
||||||
|
# "//src/Interface:ResultTypeInferenceOpInterface.td",
|
||||||
|
# "//src/Interface:ShapeInferenceInterface.td",
|
||||||
"@llvm-project//mlir:TdFiles",
|
"@llvm-project//mlir:TdFiles",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -32,45 +35,10 @@ cc_library(
|
||||||
deps = [
|
deps = [
|
||||||
":OMONNXOpsIncGen",
|
":OMONNXOpsIncGen",
|
||||||
"//src/Interface:OMPromotableConstOperandsOpInterface",
|
"//src/Interface:OMPromotableConstOperandsOpInterface",
|
||||||
"//src/Interface:OMShapeInferenceOpInterface",
|
|
||||||
"//src/Interface:OMResultTypeInferenceOpInterface",
|
"//src/Interface:OMResultTypeInferenceOpInterface",
|
||||||
"@onnx",
|
"//src/Interface:OMShapeInferenceOpInterface",
|
||||||
# "@onnx//:onnx_proto_genproto",
|
"@llvm-project//mlir:AllTranslations",
|
||||||
# "@llvm-project//mlir:Affine",
|
|
||||||
"@llvm-project//mlir:IR",
|
|
||||||
"@llvm-project//mlir:Shape",
|
|
||||||
|
|
||||||
# "@llvm-project//mlir:AffineOps",
|
|
||||||
"@llvm-project//mlir:Dialect",
|
|
||||||
"@llvm-project//mlir:ExecutionEngine",
|
|
||||||
"@llvm-project//mlir:LLVMDialect",
|
|
||||||
# "@llvm-project//mlir:LoopOps",
|
|
||||||
"@llvm-project//mlir:MlirOptLib",
|
"@llvm-project//mlir:MlirOptLib",
|
||||||
"@llvm-project//mlir:Parser",
|
"@onnx",
|
||||||
"@llvm-project//mlir:StandardOps",
|
|
||||||
"@llvm-project//mlir:Support",
|
|
||||||
"@llvm-project//mlir:VectorOps",
|
|
||||||
|
|
||||||
# "@llvm-project//mlir:Support",
|
|
||||||
# "@llvm-project//mlir:TableGen",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
# "@llvm-project//llvm:core",
|
|
||||||
# "@llvm-project//llvm:dtu_asm_parser",
|
|
||||||
# "@llvm-project//llvm:dtu_code_gen",
|
|
||||||
# "@llvm-project//llvm:dtu_desc",
|
|
||||||
# "@llvm-project//llvm:orc_jit",
|
|
||||||
# "@llvm-project//llvm:passes",
|
|
||||||
# "@llvm-project//llvm:x86_asm_parser",
|
|
||||||
# "@llvm-project//llvm:x86_code_gen",
|
|
||||||
# "@llvm-project//mlir:AffineOps",
|
|
||||||
# "@llvm-project//mlir:Dialect",
|
|
||||||
# "@llvm-project//mlir:ExecutionEngine",
|
|
||||||
# "@llvm-project//mlir:LLVMDialect",
|
|
||||||
# "@llvm-project//mlir:LoopOps",
|
|
||||||
# "@llvm-project//mlir:MlirOptLib",
|
|
||||||
# "@llvm-project//mlir:Parser",
|
|
||||||
# "@llvm-project//mlir:StandardOps",
|
|
||||||
# "@llvm-project//mlir:Support",
|
|
||||||
# "@llvm-project//mlir:VectorOps",
|
|
||||||
|
|
Loading…
Reference in New Issue