This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][python] Export CAPI headers.
ClosedPublic

Authored by stellaraccident on Jul 29 2021, 10:40 AM.

Details

Summary
  • Adds source targets (not included in the full set that downstreams use by default) to bundle mlir-c/ headers into the mlir/_mlir_libs/include directory.
  • Adds a minimal entry point to get include and library directories.
  • Used by npcomp to export a full CAPI (which is then used by the Torch extension to link npcomp).

Diff Detail

Event Timeline

stellaraccident requested review of this revision.Jul 29 2021, 10:40 AM
mikeurbach accepted this revision.Jul 29 2021, 11:03 AM

Makes sense to me.

This revision is now accepted and ready to land.Jul 29 2021, 11:03 AM
This revision was automatically updated to reflect the committed changes.