Use global for MLIRTorchOpsIncGenTdFiles (#1784)

pull/1794/head
Ahmed S. Taei 2023-01-11 14:18:35 -08:00 committed by GitHub
parent cffee681bd
commit 6b76e2e927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -20,12 +20,9 @@ buildifier(
# Torch Dialect/IR # Torch Dialect/IR
td_library( td_library(
name = "MLIRTorchOpsIncGenTdFiles", name = "MLIRTorchOpsIncGenTdFiles",
srcs = [ srcs = glob([
"include/torch-mlir/Dialect/Torch/IR/GeneratedTorchOps.td", "include/torch-mlir/Dialect/Torch/IR/*.td",
"include/torch-mlir/Dialect/Torch/IR/TorchBase.td", ]),
"include/torch-mlir/Dialect/Torch/IR/TorchOps.td",
"include/torch-mlir/Dialect/Torch/IR/TorchTypes.td",
],
includes = ["include"], includes = ["include"],
deps = [ deps = [
"@llvm-project//mlir:CastInterfacesTdFiles", "@llvm-project//mlir:CastInterfacesTdFiles",