This is an archive of the discontinued LLVM Phabricator instance.

[mlir][python] Makes C++ extension code relocatable by way of a macro.
ClosedPublic

Authored by stellaraccident on Aug 22 2021, 1:46 PM.

Details

Summary
  • 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).

Diff Detail

Event Timeline

stellaraccident requested review of this revision.Aug 22 2021, 1:46 PM

Since just resolving an NFC todo, please post review.

We appear to have some dueling clang-format diffs. Ignoring.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 22 2021, 2:26 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.