Use manylinux2014 instead of manylinux_2_17 as a platform tag (#15224)
This commit is contained in:
parent
07c68ffc36
commit
90a7c083c6
@ -109,7 +109,18 @@ elseif(LINUX)
|
|||||||
set(PLATFORM_TAG "linux_${_arch}")
|
set(PLATFORM_TAG "linux_${_arch}")
|
||||||
else()
|
else()
|
||||||
string(REPLACE "." "_" _ov_glibc_version "${OV_GLIBC_VERSION}")
|
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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user