[Mlir-commits] [mlir] 3b460f8 - [mlir] Export python-related .cmake files
Nicolas Vasilache
llvmlistbot at llvm.org
Wed Apr 7 08:25:28 PDT 2021
Author: Nicolas Vasilache
Date: 2021-04-07T15:25:17Z
New Revision: 3b460f8cc08790c7f9a77c28671e7fe5791a5bb5
URL: https://github.com/llvm/llvm-project/commit/3b460f8cc08790c7f9a77c28671e7fe5791a5bb5
DIFF: https://github.com/llvm/llvm-project/commit/3b460f8cc08790c7f9a77c28671e7fe5791a5bb5.diff
LOG: [mlir] Export python-related .cmake files
This allows downstream projects to build python extensions using the same macros as MLIR.
Differential Revision: https://reviews.llvm.org/D100040
Added:
Modified:
mlir/cmake/modules/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/cmake/modules/CMakeLists.txt b/mlir/cmake/modules/CMakeLists.txt
index b9fb9adce2ea5..204513812995e 100644
--- a/mlir/cmake/modules/CMakeLists.txt
+++ b/mlir/cmake/modules/CMakeLists.txt
@@ -81,6 +81,8 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/MLIRConfig.cmake
${CMAKE_CURRENT_SOURCE_DIR}/AddMLIR.cmake
+ ${CMAKE_CURRENT_SOURCE_DIR}/AddMLIRPythonExtension.cmake
+ ${CMAKE_CURRENT_SOURCE_DIR}/MLIRDetectPythonEnv.cmake
DESTINATION ${MLIR_INSTALL_PACKAGE_DIR}
COMPONENT mlir-cmake-exports)
More information about the Mlir-commits
mailing list