[all-commits] [llvm/llvm-project] b1a302: Add a Bazel build file for mlir/python.

Peter Hawkins via All-commits all-commits at lists.llvm.org
Mon Nov 1 13:03:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1a302265bf8c08a97b654b9f10dd662a67a1d4e
      https://github.com/llvm/llvm-project/commit/b1a302265bf8c08a97b654b9f10dd662a67a1d4e
  Author: Peter Hawkins <phawkins at google.com>
  Date:   2021-11-01 (Mon, 01 Nov 2021)

  Changed paths:
    A utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel
    A utils/bazel/llvm-project-overlay/mlir/test/python/BUILD.bazel

  Log Message:
  -----------
   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




More information about the All-commits mailing list