Several fixes for compilation fixes (#13674)
* Added i386 support * Cross-compiled wheel package * Fixes * Try to use cross-env * Fixed path to crossenv * Strict dependency * Removed numpy dependency * explicitly activate crossenv * Don't install ONNX for tests conversions during cross-compilation * Updates * Extra improvements * Fixed compilation with strict flags * Fixes * Revert changesin .ci/azure/linux_arm64.yml
This commit is contained in:
@@ -61,7 +61,7 @@ if(APPLE AND DEFINED CMAKE_OSX_DEPLOYMENT_TARGET)
|
||||
if(_arch AND _macos_min_version)
|
||||
set(PLATFORM_TAG "macosx_${_macos_min_version}_${_arch}")
|
||||
endif()
|
||||
elseif(LINUX)
|
||||
elseif(LINUX AND OFF)
|
||||
_ov_platform_arch()
|
||||
|
||||
execute_process(COMMAND ldd --version
|
||||
@@ -74,7 +74,7 @@ elseif(LINUX)
|
||||
endif()
|
||||
|
||||
# common pattern manylinux_<libc major>_<libc minor>_<arch>
|
||||
if(_libc_version AND _arch)
|
||||
if(_libc_major AND _libc_minor AND _arch)
|
||||
set(PLATFORM_TAG "manylinux_${_libc_major}_${_libc_minor}_${_arch}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -32,7 +32,7 @@ CONFIG = "Release" if platform.system() in {"Windows", "Darwin"} else ""
|
||||
machine = platform.machine()
|
||||
if machine == "x86_64" or machine == "AMD64":
|
||||
ARCH = "intel64"
|
||||
elif machine == "X86":
|
||||
elif machine == "X86" or machine == "i686":
|
||||
ARCH = "ia32"
|
||||
elif machine == "arm" or machine == "armv7l":
|
||||
ARCH = "arm"
|
||||
|
||||
Reference in New Issue
Block a user