aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2022-08-04 21:04:35 +0200
committerDimitry Andric <dimitry@andric.com>2022-08-05 10:48:09 +0200
commit45c056b1fb5a9bc797e935b160aa07bf53764a3a (patch)
tree5b22a7259e06721047af2c021fd4a32e71d7cb05 /flang/lib/Frontend/CompilerInvocation.cpp
parent809b4166413f157ce8e45ba0f80438701bf2e133 (diff)
downloadllvm-45c056b1fb5a9bc797e935b160aa07bf53764a3a.zip
llvm-45c056b1fb5a9bc797e935b160aa07bf53764a3a.tar.gz
llvm-45c056b1fb5a9bc797e935b160aa07bf53764a3a.tar.bz2
[CMake] Find python before searching for python modules
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`. Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D131191
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions