utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch1/BUILD.bazel
raw| 1 | # Description: |
| 2 | # MLIR Tutorial |
| 3 | |
| 4 | load("@rules_cc//cc:defs.bzl", "cc_binary") |
| 5 | |
| 6 | licenses(["notice"]) |
| 7 | |
| 8 | package(default_visibility = ["//visibility:public"]) |
| 9 | |
| 10 | cc_binary( |
| 11 | name = "toyc-ch1", |
| 12 | srcs = [ |
| 13 | "parser/AST.cpp", |
| 14 | "toyc.cpp", |
| 15 | ] + glob(["include/toy/*"]), |
| 16 | includes = ["include/"], |
| 17 | deps = [ |
| 18 | "//llvm:Support", |
| 19 | "//mlir:Support", |
| 20 | ], |
| 21 | ) |