Skip to content

Commit

Permalink
Use manylinux2014 instead of manylinux_2_17 as a platform tag (openvi…
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored Jan 23, 2023
1 parent 07c68ff commit 90a7c08
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/bindings/python/wheel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,18 @@ elseif(LINUX)
set(PLATFORM_TAG "linux_${_arch}")
else()
string(REPLACE "." "_" _ov_glibc_version "${OV_GLIBC_VERSION}")
set(PLATFORM_TAG "manylinux_${_ov_glibc_version}_${_arch}")
set(manylinux "manylinux_${_ov_glibc_version}")

# convert to well-known formats according to PEP 600
if(manylinux STREQUAL "manylinux_2_5")
set(manylinux "manylinux1")
elseif(manylinux STREQUAL "manylinux_2_12")
set(manylinux "manylinux2010")
elseif(manylinux STREQUAL "manylinux_2_17")
set(manylinux "manylinux2014")
endif()

set(PLATFORM_TAG "${manylinux}_${_arch}")
endif()
endif()

Expand Down

0 comments on commit 90a7c08

Please sign in to comment.