From ee9f6038ed08235fd9b57d832cc0f55cf32b0dcf Mon Sep 17 00:00:00 2001 From: Leandro Nunes Date: Thu, 17 Mar 2022 11:36:38 +0000 Subject: [PATCH] [skip ci][CI] Bump Python version from 3.6 to 3.7 in VitisAI.cmake This is required because we migrated the default version in which dependencies are installed, due to Python 3.6 coming to EOL. Co-authored-by: Elen Kalda --- cmake/modules/contrib/VitisAI.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/contrib/VitisAI.cmake b/cmake/modules/contrib/VitisAI.cmake index 282e196838cb..077affe27066 100644 --- a/cmake/modules/contrib/VitisAI.cmake +++ b/cmake/modules/contrib/VitisAI.cmake @@ -17,9 +17,9 @@ if(USE_VITIS_AI) set(PYXIR_SHARED_LIB libpyxir.so) - find_package(PythonInterp 3.6 REQUIRED) + find_package(PythonInterp 3.7 REQUIRED) if(NOT PYTHON) - find_program(PYTHON NAMES python3 python3.6) + find_program(PYTHON NAMES python3 python3.7) endif() execute_process(COMMAND "${PYTHON_EXECUTABLE}" "-c" "import pyxir as px; print(px.get_include_dir()); print(px.get_lib_dir());"