[all-commits] [llvm/llvm-project] a1229c: Always link the MLIR python bindings native extens...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Nov 5 11:57:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a1229c9518672cedfe407654145bf7e2614769f7
      https://github.com/llvm/llvm-project/commit/a1229c9518672cedfe407654145bf7e2614769f7
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M mlir/lib/Bindings/Python/CMakeLists.txt

  Log Message:
  -----------
  Always link the MLIR python bindings native extension to libMLIR.so

The Python bindings now require -DLLVM_BUILD_LLVM_DYLIB=ON to build.
This change is needed to be able to build multiple Python native
extension without having each of them embedding a copy of MLIR, which
would make them incompatible with each other. Instead they should all
link to the same copy of MLIR.

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




More information about the All-commits mailing list