Add ability to generate requirements.txt files with dev tags (#9986)

This commit is contained in:
Sergey Lyubimtsev 2022-01-28 18:23:10 +03:00 committed by GitHub
parent 72583261fc
commit 4b35d48283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -21,6 +21,11 @@ install(DIRECTORY deployment_manager
USE_SOURCE_PERMISSIONS)
# outbound requirements.txt files for openvino-dev package
if (DEFINED ENV{CI_BUILD_DEV_TAG} AND NOT $ENV{CI_BUILD_DEV_TAG} STREQUAL "")
set(WHEEL_VERSION "${IE_VERSION}.$ENV{CI_BUILD_DEV_TAG}")
else()
set(WHEEL_VERSION ${IE_VERSION})
endif()
set(REQUIREMENTS_IN "${CMAKE_CURRENT_SOURCE_DIR}/requirements_dev.in")
set(EXTRAS_LIST _ caffe kaldi mxnet onnx pytorch tensorflow tensorflow2)

View File

@ -1 +1 @@
openvino-dev${EXTRAS}==${IE_VERSION}
openvino-dev${EXTRAS}==${WHEEL_VERSION}