[all-commits] [llvm/llvm-project] e78b74: [mlir][python] Makes C++ extension code relocatabl...

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Sun Aug 22 14:26:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e78b745cf259472f58eb0790cfc6eb0443e009e1
      https://github.com/llvm/llvm-project/commit/e78b745cf259472f58eb0790cfc6eb0443e009e1
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2021-08-22 (Sun, 22 Aug 2021)

  Changed paths:
    M mlir/include/mlir-c/Bindings/Python/Interop.h
    M mlir/include/mlir/Bindings/Python/PybindAdaptors.h

  Log Message:
  -----------
  [mlir][python] Makes C++ extension code relocatable by way of a macro.

* Resolves a TODO by making this configurable by downstreams.
* This seems to be the last thing allowing full use of the Python bindings as a library within another project (i.e. be embedding them).

Differential Revision: https://reviews.llvm.org/D108523




More information about the All-commits mailing list