You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by le...@apache.org on 2022/03/16 13:40:30 UTC
[tvm] 02/02: Fix VitisAI.cmake to use Python 3.7.
This is an automated email from the ASF dual-hosted git repository.
leandron pushed a commit to branch ci-docker-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit e0337314ba0548f07bf739454ce90d0d2f886c54
Author: Leandro Nunes <le...@arm.com>
AuthorDate: Wed Mar 16 13:39:06 2022 +0000
Fix VitisAI.cmake to use Python 3.7.
---
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 282e196..077affe 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());"