Fixing the force of using cmake python3 interpreter

Change-Id: I5d87dfa78052611856652fc887cdfa6764c51028


[ROCm/rocprofiler commit: a50d5ce4ae]
이 커밋은 다음에 포함됨:
Ammar ELWazir 작성하고 Ammar Elwazir가 2024-06-10 16:00:09 -04:00를 커밋함
1 부모 c41bbe21d0
커밋 bb40910abe
3 파일이 변경됨
+18 -12

검색과 일치하는 파일 없음

+6 -4
파일 보기
@@ -1,10 +1,12 @@
# ############################################################################################################################################
# ROCProfiler General Requirements
# ############################################################################################################################################
find_package(
Python3
COMPONENTS Interpreter
REQUIRED)
if(NOT Python3_EXECUTABLE)
find_package(
Python3
COMPONENTS Interpreter
REQUIRED)
endif()
execute_process(
COMMAND ${Python3_EXECUTABLE} -c "import lxml"
+6 -4
파일 보기
@@ -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
파일 보기
@@ -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)