[all-commits] [llvm/llvm-project] 722475: Initial boiler-plate for python bindings.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Thu Jul 9 16:25:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 722475a375697513797a71afe6c37db3e3763bfc
      https://github.com/llvm/llvm-project/commit/722475a375697513797a71afe6c37db3e3763bfc
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M mlir/CMakeLists.txt
    A mlir/lib/Bindings/CMakeLists.txt
    A mlir/lib/Bindings/Python/CMakeLists.txt
    A mlir/lib/Bindings/Python/MainModule.cpp
    A mlir/lib/Bindings/Python/mlir/__init__.py
    A mlir/lib/Bindings/Python/unix_version.lds
    M mlir/lib/CMakeLists.txt
    A mlir/test/Bindings/Python/lit.local.cfg
    A mlir/test/Bindings/Python/smoke_test.py
    M mlir/test/CMakeLists.txt
    M mlir/test/lit.cfg.py
    M mlir/test/lit.site.cfg.py.in

  Log Message:
  -----------
  Initial boiler-plate for python bindings.

Summary:
* Native '_mlir' extension module.
* Python mlir/__init__.py trampoline module.
* Lit test that checks a message.
* Uses some cmake configurations that have worked for me in the past but likely needs further elaboration.

Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes

Tags: #mlir

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




More information about the All-commits mailing list