From 5496376a2fa57da98cdf983c3c2a985d57a0370d Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Tue, 31 Oct 2023 14:55:28 +0400 Subject: [PATCH] Removed WA for static protobuf for vcpkg installation path (#20784) --- .../installing-openvino-vcpkg.md | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/docs/articles_en/get started/installing-openvino-overview/installing-openvino-shared/installing-openvino-vcpkg.md b/docs/articles_en/get started/installing-openvino-overview/installing-openvino-shared/installing-openvino-vcpkg.md index d0d502cfced..4da210edb0d 100644 --- a/docs/articles_en/get started/installing-openvino-overview/installing-openvino-shared/installing-openvino-vcpkg.md +++ b/docs/articles_en/get started/installing-openvino-overview/installing-openvino-shared/installing-openvino-vcpkg.md @@ -65,37 +65,6 @@ Installing OpenVINO Runtime Note that the vcpkg installation means building all packages and dependencies from source, which means the compiler stage will require additional time to complete the process. -.. important:: - - If you are building OpenVINO as dynamic libraries and you want to use either Paddle, TensorFlow or ONNX frontends, you need to create `custom vcpkg `__ triplet file, like ``/triplets/community/x64-linux-release-dynamic.cmake``, which builds ``protobuf`` dependency statically: - - .. code-block:: sh - - # typical values of vcpkg toolchain - set(VCPKG_TARGET_ARCHITECTURE x64) - set(VCPKG_CRT_LINKAGE dynamic) - # by default, all libraries are built dynamically - set(VCPKG_LIBRARY_LINKAGE dynamic) - - set(VCPKG_CMAKE_SYSTEM_NAME Linux) - set(VCPKG_BUILD_TYPE release) - - set(VCPKG_FIXUP_ELF_RPATH ON) - - # OpenVINO specific additions: build statically the following internal dependencies - # IMPORTANT: you need to build at least protobuf statically, others can be dynamic - if(PORT MATCHES "^(ade|hwloc|onnx|protobuf|pugixml|snappy)$") - set(VCPKG_LIBRARY_LINKAGE static) - endif() - - - Then, you can use such a triplet file with the following command: - - .. code-block:: sh - - vcpkg install 'openvino:x64-linux-release-dynamic' - - After installation, you can use OpenVINO in your product's cmake scripts: .. code-block:: sh