[all-commits] [llvm/llvm-project] 7aebdf: [mlir] Limit Python dependency to Development.Modu...
mikeurbach via All-commits
all-commits at lists.llvm.org
Thu Oct 7 22:05:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7aebdfc4fcc4a2667f5d5c30ffbdc146f9b014d2
https://github.com/llvm/llvm-project/commit/7aebdfc4fcc4a2667f5d5c30ffbdc146f9b014d2
Author: Mike Urbach <mikeurbach at gmail.com>
Date: 2021-10-07 (Thu, 07 Oct 2021)
Changed paths:
M mlir/CMakeLists.txt
Log Message:
-----------
[mlir] Limit Python dependency to Development.Module when possible.
After CMake 3.18, we are able to limit the scope of the
find_package(Python3 ...) search to just Development.Module. Searching
for Development will fail in manylinux builds, and isn't necessary
since we are not embedding the Python interpreter. For more information, see:
https://pybind11.readthedocs.io/en/stable/compiling.html#findpython-mode
Reviewed By: stellaraccident
Differential Revision: https://reviews.llvm.org/D111383
More information about the All-commits
mailing list