From 30d176a687f874e41c1e0942cfca986d870b80e1 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Fri, 6 Oct 2023 23:11:03 +0400 Subject: [PATCH] Small improvements in conan, vcpkg docs (#20272) --- .../installing-openvino-conan.md | 24 +++++++++---------- .../installing-openvino-vcpkg.md | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/articles_en/get started/installing-openvino-overview/installing-openvino-shared/installing-openvino-conan.md b/docs/articles_en/get started/installing-openvino-overview/installing-openvino-shared/installing-openvino-conan.md index 5f444196c33..1748a9086ab 100644 --- a/docs/articles_en/get started/installing-openvino-overview/installing-openvino-shared/installing-openvino-conan.md +++ b/docs/articles_en/get started/installing-openvino-overview/installing-openvino-shared/installing-openvino-conan.md @@ -39,15 +39,15 @@ Installing OpenVINO Runtime with Conan Package Manager ############################################################ -1. Install Conan 2.0.8 or higher: - - .. code-block:: console +1. `Install Conan `__ 2.0.8 or higher, for example, using pip: + + .. code-block:: sh python3 -m pip install conan 2. Create a ``conanfile.txt`` file for your OpenVINO project and add "*openvino*" dependency in there: - .. code-block:: console + .. code-block:: sh [requires] openvino/2023.1.0 @@ -58,8 +58,8 @@ Installing OpenVINO Runtime with Conan Package Manager cmake_layout Run the command below to create ``conan_toolchain.cmake`` file, which will be used to compile your project with OpenVINO: - - .. code-block:: console + + .. code-block:: sh conan install conanfile.txt --build=missing @@ -68,20 +68,20 @@ Installing OpenVINO Runtime with Conan Package Manager what options there are on the `Conan Package Manager page for OpenVINO `__ and extend the command, like so: - .. code-block:: console + .. code-block:: sh - conan install conanfile.txt --build=missing -o:h openvino/*:enable_intel_gpu=False -o:h openvino/*:enable_onnx_frontend=False' -o:h openvino/*:shared=True. - + conan install conanfile.txt --build=missing -o:h 'openvino/*:enable_intel_gpu=False' -o:h 'openvino/*:enable_onnx_frontend=False' -o:h 'openvino/*:shared=True' + 3. Configure and compile your project with OpenVINO: - - .. code-block:: console + + .. code-block:: sh cmake -DCMAKE_TOOLCHAIN_FILE= -DCMAKE_BUILD_TYPE=Release -S -B cmake --build --parallel .. note:: - OpenVINO can be used with any build interface, as long as it is supported by Conan 2.0. + OpenVINO can be used with any build interface, as long as it is supported by Conan 2.0. Read `more `__. Additional Resources ######################## 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 8202d3f7fc1..39c82520907 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 @@ -60,7 +60,7 @@ Installing OpenVINO Runtime .. code-block:: sh - vcpkg install openvino:x64-windows-static + vcpkg install 'openvino:x64-windows-static' 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. @@ -93,7 +93,7 @@ which means the compiler stage will require additional time to complete the proc .. code-block:: sh - vcpkg install openvino:x64-linux-release-dynamic + vcpkg install 'openvino:x64-linux-release-dynamic' After installation, you can use OpenVINO in your product's cmake scripts: