Skip to content

[Good First Issue]: Compile OpenVINO on macOS with Xcode cmake generator #19891

@ilya-lavrenov

Description

@ilya-lavrenov

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

#19828

Resources

Contact points

@ilya-lavrenov

Metadata

Metadata

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions