-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] [GSoC] add docs about how to build OV on RISC-V devices #26056
[DOCS] [GSoC] add docs about how to build OV on RISC-V devices #26056
Conversation
4. To cross compile OpenVINO Runtime for RISC-V devices, run `cmake` with specified `CMAKE_TOOLCHAIN_FILE` and `RISCV_TOOLCHAIN_ROOT`: | ||
```sh | ||
cmake .. \ | ||
-DCMAKE_BUILD_TYPE=Release \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same: this is optional key. Could you please remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you mean the key -DCMAKE_BUILD_TYPE
is also optional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, it is. Moreover, Release
type is chosen by default.
But I don't insist
|
||
- [CMake](https://cmake.org/download/) 3.13 or higher | ||
- GCC 7.5 or higher (for non-RVV) / [xuantie-gnu-toolchain](https://github.com/XUANTIE-RV/xuantie-gnu-toolchain) (for RVV) | ||
- Python 3.10 for OpenVINO Runtime Python API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python 3.8 or higher
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently only Python 3.10 is tested, and there is something wrong with Python 3.11. So I am not sure if it is suitable here to mention "Python 3.8 or higher" 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Now we have tutorial how to cross-compile OpenVINO with optimized primitives for riscv64 devices! 🎉
build_jenkins |
Details:
build_riscv64.md
file giving instructions on how to build OV on RISC-V devicesTickets: