add extern include in build of gentable

This commit is contained in:
colin 2020-10-14 12:01:16 +08:00
parent 70a7733278
commit f1a503a610
1 changed files with 4 additions and 5 deletions

View File

@ -12,14 +12,13 @@ gentbl(
], ],
tblgen = "@llvm-project//mlir:mlir-tblgen", tblgen = "@llvm-project//mlir:mlir-tblgen",
td_file = "ONNXOps.td", td_file = "ONNXOps.td",
td_includes = ["."], td_includes = [
# td_relative_includes = ["../../"] ".",
"external/onnx-mlir",
],
td_srcs = [ td_srcs = [
"ONNXOps.td.inc", "ONNXOps.td.inc",
"//src/Interface:TdFiles", "//src/Interface:TdFiles",
# "//src/Interface:PromotableConstOperandsOpInterface.td",
# "//src/Interface:ResultTypeInferenceOpInterface.td",
# "//src/Interface:ShapeInferenceInterface.td",
"@llvm-project//mlir:TdFiles", "@llvm-project//mlir:TdFiles",
], ],
) )