[all-commits] [llvm/llvm-project] b78e88: [CMake] Fix Python 3 lookup when building LLVM wit...
Dominik Montada via All-commits
all-commits at lists.llvm.org
Tue Apr 6 04:09:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b78e883fd8b3745250220776dd8bb635edd95539
https://github.com/llvm/llvm-project/commit/b78e883fd8b3745250220776dd8bb635edd95539
Author: Dominik Montada <dominik.montada at hightec-rt.com>
Date: 2021-04-06 (Tue, 06 Apr 2021)
Changed paths:
M clang/lib/Tooling/CMakeLists.txt
Log Message:
-----------
[CMake] Fix Python 3 lookup when building LLVM with tests
Remove the find_package(Python3 ...) call from Tooling/CMakeLists.txt as
it would override the python 3 version determined in llvm/CMakeLists.txt.
This call did not respect the LLVM_MINIMUM_PYTHON_VERSION.
This fixes the check-all target when building LLVM on a system where the
default python version is not the minimum required version for running tests.
Reviewed By: serge-sans-paille
Differential Revision: https://reviews.llvm.org/D99715
More information about the All-commits
mailing list