llvm-project/mlir/cmake/modules
Stephen Neuendorffer 84fe34a0b7 [MLIR] Workaround for python detection problems.
Although cmake should be platform-independent, we've observed
that some aspects of Python detection don't work on all platforms,
even with recent versions of cmake.  This appears to be due to bugs
in the python detection logic, especially when the NumPy component
is required and not located within the python installation.
As a workaround, this patch first searches for "Development" before
searching for "Development.Module", which seems to workaround the
issue.

Differential Revision: https://reviews.llvm.org/D118148
2022-01-27 13:32:29 -08:00
..
AddMLIR.cmake [mlir][cmake] Use `GNUInstallDirs` to support custom installation dirs 2022-01-19 17:11:04 +00:00
AddMLIRPython.cmake Re-apply "[mlir] Allow out-of-tree python building from installed MLIR." 2021-11-14 20:31:34 -08:00
CMakeLists.txt [mlir][cmake] Use `GNUInstallDirs` to support custom installation dirs 2022-01-19 17:11:04 +00:00
MLIRConfig.cmake.in [mlir] Configure mlir so that it can be directly included in a parent cmakelists.txt 2022-01-19 12:02:22 -08:00
MLIRDetectPythonEnv.cmake [MLIR] Workaround for python detection problems. 2022-01-27 13:32:29 -08:00