diff options
-rw-r--r-- | CMakeLists.txt | 7 | ||||
-rw-r--r-- | TESTING/CMakeLists.txt | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 77324327..f0f9cd1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,12 @@ if (UNIX) STRING(REPLACE \;mtsk\; \; CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES "${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES}") endif () - +# Get Python +find_package(PythonInterp) +message(STATUS "Looking for Python found - ${PYTHONINTERP_FOUND}") +if (PYTHONINTERP_FOUND) + message(STATUS "Using Python version ${PYTHON_VERSION_STRING}") +endif() # -------------------------------------------------- # On Windows-GNU builds try to provide MS import libraries too. diff --git a/TESTING/CMakeLists.txt b/TESTING/CMakeLists.txt index b073ac2c..9025a98d 100644 --- a/TESTING/CMakeLists.txt +++ b/TESTING/CMakeLists.txt @@ -310,3 +310,8 @@ endif() # ============================================================================== execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${LAPACK_SOURCE_DIR}/lapack_testing.py ${LAPACK_BINARY_DIR}) + add_test( + NAME LAPACK_Test_Summary + WORKING_DIRECTORY ${LAPACK_BINARY_DIR} + COMMAND ${PYTHON_EXECUTABLE} "lapack_testing.py" + ) |