Skip to content

Commit

Permalink
update build linux readme (#25274)
Browse files Browse the repository at this point in the history
### Details:
- Identified an issue where enabling the oneAPI environment during the
compilation of OpenVINO from source code on Linux causes the compilation
to fail.
- This issue seems to occur due to conflicts between the oneAPI
environment and the OpenVINO build process.
- To address this, I have added a warning in the building document
advising users to disable the oneAPI environment during the build
process.
- This change will help users avoid compilation failures and ensure a
smoother build process.
- I have tested the build process with the oneAPI environment disabled
and confirmed that the compilation completes successfully.

---------

Co-authored-by: Tatiana Savina <[email protected]>
  • Loading branch information
timxu826 and tsavina authored Jun 28, 2024
1 parent fed9fc1 commit 246404d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/dev/build_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ The software was validated on:
mkdir build && cd build
```

> **NOTE**: It is recommended to disable the oneAPI environment before compiling OpenVINO from source on Linux, as it may cause build failures.

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:
```sh
cmake -DCMAKE_BUILD_TYPE=Release ..
Expand Down

0 comments on commit 246404d

Please sign in to comment.