Add a Bazel build file for mlir/python.
authorPeter Hawkins <phawkins@google.com>
Mon, 1 Nov 2021 20:01:33 +0000 (13:01 -0700)
committerGeoffrey Martin-Noble <gcmn@google.com>
Mon, 1 Nov 2021 20:03:15 +0000 (13:03 -0700)
commitb1a302265bf8c08a97b654b9f10dd662a67a1d4e
treee01cd890f8d824ba4614ccdb0b10f5a011f85705
parent3bbbec1ae7b7b3c3dc4e6a1801fb5bdb930aad79
 Add a Bazel build file for mlir/python.

This BUILD file:
* generates machine-generated Python files using tblgen, and
* exports both generated and handwritten Python files via filegroup() rules.

This allows downstream users to use Bazel to build Python wheels that incorporate the MLIR Python bindings.

Reviewed By: GMNGeoffrey

Differential Revision: https://reviews.llvm.org/D112844
utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel [new file with mode: 0644]
utils/bazel/llvm-project-overlay/mlir/test/python/BUILD.bazel [new file with mode: 0644]