You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/dev/build_linux.md
+4-8
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ The software was validated on:
51
51
4. OpenVINO Runtime uses a CMake-based build system. In the created `build` directory, run `cmake` to fetch project dependencies and create Unix makefiles, then run `make` to build the project:
52
52
```sh
53
53
cmake -DCMAKE_BUILD_TYPE=Release ..
54
-
make --jobs=$(nproc --all)
54
+
cmake --build . --parallel
55
55
```
56
56
The process may take some time to finish.
57
57
@@ -68,19 +68,15 @@ You can use the following additional build options:
68
68
- OpenVINO offers several CMake options that can be used to build a custom OpenVINO runtime, which can speed up compilation. These options allow you to skip compilation of other plugins and frontends by disabling/enabling them. You can find a list of available options [here](https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/cmake_options_for_custom_compilation.md)
69
69
70
70
- To build the OpenVINO Runtime Python API:
71
-
1. Install all additional packages (e.g., cython and opencv) listed in the `/src/bindings/python/src/compatibility/openvino/requirements-dev.txt` file:
72
-
```sh
73
-
pip install -r requirements-dev.txt
74
-
```
75
-
2. Enable the `-DENABLE_PYTHON=ON` option in the CMake step above (Step 4). To specify an exact Python version, use the following options (requires cmake 3.16 and higher):
71
+
1. Enable the `-DENABLE_PYTHON=ON` option in the CMake step above (Step 4). To specify an exact Python version, use the following options (requires cmake 3.16 and higher):
76
72
```
77
73
-DPython3_EXECUTABLE=/usr/bin/python3.8
78
74
```
79
-
3. To build a wheel package (.whl), enable the `-DENABLE_WHEEL=ON` option in the CMake step above (Step 4), and install requirements:
75
+
2. To build a wheel package (.whl), enable the `-DENABLE_WHEEL=ON` option in the CMake step above (Step 4), and install requirements:
2. Second, enable the `-DENABLE_PYTHON=ON`in the CMake (Step #3) option above. To specify an exact Python version, use the following options (requires cmake 3.16 and higher):
54
+
1. Enable the `-DENABLE_PYTHON=ON`in the CMake (Step #3) option above. To specify an exact Python version, use the following options (requires cmake 3.16 and higher):
0 commit comments