-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Context
OpenVINO is a cross platform product, which can be built with different compilers, their versions.
But different compilers and cmake generators can slightly adjust their option, so the product compilation emits warnings.
The proper way is to align compiler options, so the product compilation become less OS / compiler / cmake generator dependent.
E.g. if MSVC on Windows often emits signed / unsigned types conversion, we need to find similar option for Clang / GCC and enable by default and fix warnings.
With this task, you can understand simple OpenVINO data structures, get an experience with working with compiler flags, making a portable code base.
What needs to be done?
Run cmake with:
cmake -G Xcode -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -S <openvino source> -B <build dir>
And build with:
cmake --build . --parallel --config Release -- -IDEBuildingContinueBuildingAfterErrors=YES
And fix all compilation errors, adjust cmake flags where it's needed.
Example Pull Requests
Resources
Contact points
Metadata
Metadata
Assignees
Labels
Type
Projects
Status