[all-commits] [llvm/llvm-project] 5b2e7f: [MLIR][python] Export CAPI headers.
Stella Laurenzo via All-commits
all-commits at lists.llvm.org
Thu Jul 29 12:07:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b2e7f50a6798fd9b9c79d9d62fdebcd9e78525b
https://github.com/llvm/llvm-project/commit/5b2e7f50a6798fd9b9c79d9d62fdebcd9e78525b
Author: Stella Laurenzo <stellaraccident at gmail.com>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M mlir/cmake/modules/AddMLIRPython.cmake
M mlir/python/CMakeLists.txt
M mlir/python/mlir/_mlir_libs/__init__.py
A mlir/test/python/develoment_files.py
Log Message:
-----------
[MLIR][python] Export CAPI headers.
* 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).
Reviewed By: mikeurbach
Differential Revision: https://reviews.llvm.org/D107090
More information about the All-commits
mailing list