2
0

Fixing the force of using cmake python3 interpreter

Change-Id: I5d87dfa78052611856652fc887cdfa6764c51028
Este cometimento está contido em:
Ammar ELWazir
2024-06-10 14:59:38 -05:00
cometido por Ammar Elwazir
ascendente 056156135d
cometimento a50d5ce4ae
3 ficheiros modificados com 18 adições e 12 eliminações
+6 -4
Ver ficheiro
@@ -421,10 +421,12 @@ install(
${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/tests/featuretests/profiler/apps/goldentraces
COMPONENT tests)
find_package(
Python3
COMPONENTS Interpreter
REQUIRED)
if(NOT Python3_EXECUTABLE)
find_package(
Python3
COMPONENTS Interpreter
REQUIRED)
endif()
execute_process(
COMMAND ${Python3_EXECUTABLE} -c "import pandas"
+6 -4
Ver ficheiro
@@ -130,10 +130,12 @@ install(
${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/tests/featuretests/tracer/apps/goldentraces
COMPONENT tests)
find_package(
Python3
COMPONENTS Interpreter
REQUIRED)
if(NOT Python3_EXECUTABLE)
find_package(
Python3
COMPONENTS Interpreter
REQUIRED)
endif()
# cmake based tests
include(${CMAKE_CURRENT_LIST_DIR}/hiptrace_validation_tests.cmake)