In the top-level llvm CMakeLists.txt, we need to call
find_package(Python3) *before* including config-ix.cmake, otherwise
the latter will not be able to successfully search for python modules
using find_python_module(). Also set LLVM_MINIMUM_PYTHON_VERSION
before calling find_package(Python3), moving it to CMakeLists.txt
from HandleLLVMOptions.cmake.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/CMakeLists.txt | ||
---|---|---|
766 | I'd move it to L775 since this is speaking to the find_package rather than the setting of the LLVM_MINIMUM_PYTHON_VERSION. |
I'd move it to L775 since this is speaking to the find_package rather than the setting of the LLVM_MINIMUM_PYTHON_VERSION.