Skip to content

Commit

Permalink
Look for Python3 again in SearchInstalledSoftware.cmake
Browse files Browse the repository at this point in the history
This commit essentially reverts a288ff9 from four years ago, which was
also part of the multi-python machinery that is not necessary anymore
after Python 2 support was dropped.

Also, make the choice of looked-up components consistent with what is
actually required.
  • Loading branch information
guitargeek authored and jenkins committed May 8, 2024
1 parent 3cc2a4d commit 4bd3f6b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,7 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
message(FATAL_ERROR
"Unable to find Python interpreter, required for builds and testing.
Please install Python or specify the PYTHON_EXECUTABLE CMake variable.")
endif()

if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 )
message(FATAL_ERROR "Python 2.7 or newer is required")
Please install Python or specify the Python3_EXECUTABLE CMake variable.")
endif()

# Check prebuilt llvm/utils.
Expand Down

0 comments on commit 4bd3f6b

Please sign in to comment.