Arm cross compilation (#12807)

* Fixed ARM out-of-box cross-compilation

* Improvements

* Fixed HDDL plugin
This commit is contained in:
Ilya Lavrenov
2022-08-30 22:23:14 +04:00
committed by GitHub
parent 675cce8325
commit 8a4cb9b332
16 changed files with 97 additions and 38 deletions

View File

@@ -19,12 +19,16 @@ endif()
if(PYTHON_VERSION_MINOR EQUAL 6)
set(clang_version 10)
elseif(PYTHON_VERSION_MINOR EQUAL 7)
set(clang_version 11)
elseif(PYTHON_VERSION_MINOR EQUAL 8)
set(clang_version 12)
elseif(PYTHON_VERSION_MINOR EQUAL 9)
set(clang_version 12)
elseif(PYTHON_VERSION_MINOR EQUAL 10)
set(clang_version 14)
else()
message(WARNING "Cannot suggest clang package for python ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}")
endif()

View File

@@ -1,4 +1,5 @@
clang==10.0.1; python_version == '3.6'
clang==11.1.0; python_version == '3.7'
clang==12.0.1; python_version == '3.8'
clang==12.0.1; python_version == '3.9'
clang==14.0; python_version == '3.10'