Closed Xaenalt closed 1 year ago
@Xaenalt as of now, RedHat version that is validated to work with OpenVINO is Red Hat Enterprise Linux 8.2 (64-bit) with default GCC 8.5.0. Newer version might works but it's not fully supported yet.
In order to experiment this, I tried building & compiling the latest OV version with latest RedHat and so far it works:
Took a while for me to build this (depends on your computing power) and requires some manual tweaking tho.
However, bear in mind that this is not fully supported yet until it's officially announced in this release note or mentioned in this wiki section.
Ah yeah, it was using the newer gcc, I eventually got it with a few -Wno-error flags
@Xaenalt How did you solve it? Passing the flags like this make --jobs=$(nproc --all) CFLAGS="-Wno-error"
is ineffective.
I am using 11.3.0 with Ubuntu 22.04.
Passing the flags like this make --jobs=$(nproc --all) CFLAGS="-Wno-error" is ineffective.
because cmake project has already been configured. If you want to affect compilation, you need:
cmake -DCMAKE_CXX_FLAGS="-Wno-error" -DCMAKE_C_FLAGS="-Wno-error" .
make --jobs=$(nproc --all)
System information (version)
Detailed description
In attempting to migrate the build to UBI9, I hit several warnings-as-errors when attempting the ninja install step:
With the default -Werror flag, this and related warnings are treated as build errors. Removing -Werror allowed me to proceed, but not ideal. Log of the run without -Werror attached
Steps to reproduce
ninja install