Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[DOCS] Removed OMZ from the build (#27052)

tadamczx652615597ef0
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index eedfe078cbd..2dfb6bb8d04 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -8,7 +8,6 @@ set(ENABLE_CPP_API OFF CACHE BOOL "Build with C/C++ API.")
set(ENABLE_PYTHON_API OFF CACHE BOOL "Build with Python API.")
set(ENABLE_GENAI_API OFF CACHE BOOL "Build with GenAI API.")
set(ENABLE_NOTEBOOKS OFF CACHE BOOL "Build with openvino notebooks.")
-set(ENABLE_OMZ OFF CACHE BOOL "Build with open_model_zoo.")
set(ENABLE_OVMS OFF CACHE BOOL "Build with ovms.")
set(OVMS_DOCS_DIR "" CACHE PATH "Path to model server documentation dir.")
@@ -90,17 +89,6 @@ function(build_docs)
list(APPEND commands COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --green "FINISHED preprocessing OVMS")
endif()
- if(${ENABLE_OMZ})
- list(APPEND commands COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --green "STARTED preprocessing OMZ")
- list(APPEND commands
- COMMAND ${Python3_EXECUTABLE} ${OpenVINO_SOURCE_DIR}/thirdparty/open_model_zoo/ci/prepare-documentation.py ${CMAKE_BINARY_DIR}/open_model_zoo)
- list(APPEND commands COMMAND ${Python3_EXECUTABLE} ${FILE_HELPER_SCRIPT}
- --filetype=md
- --input_dir=${CMAKE_BINARY_DIR}/open_model_zoo
- --output_dir=${SPHINX_SOURCE_DIR}
- --exclude_dir=${SPHINX_SOURCE_DIR})
- list(APPEND commands COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --green "FINISHED preprocessing OMZ")
- endif()
# Preprocess docs
add_custom_target(preprocess_docs
diff --git a/docs/documentation_build_instructions.md b/docs/documentation_build_instructions.md
index 490da1b1029..d9219454b86 100644
--- a/docs/documentation_build_instructions.md
+++ b/docs/documentation_build_instructions.md
@@ -45,5 +45,4 @@ Depending on the needs, following variables can be added to first cmake call:
- building C/C++ API: `-DENABLE_CPP_API=ON`
- building Python API: `-DENABLE_PYTHON_API=ON`
- building Notebooks: `-DENABLE_NOTEBOOKS=ON`
-- building OMZ: `-DENABLE_OMZ=ON`
- building OVMS: `-DENABLE_OVMS=ON -DOVMS_DOCS_DIR=<path_to_OVMS_repo>`