OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CI][GHA] Enable treating warnings as errors for Linux RISC-V job (#36157)
Arseniy Obolenskiybdf4a17d2227
diff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.ymlindex af1efb22cbb..57a2cfa7284 100644--- a/.github/workflows/linux_riscv.yml+++ b/.github/workflows/linux_riscv.yml@@ -190,7 +190,7 @@ jobs:-DENABLE_STRICT_DEPENDENCIES=OFF-DCMAKE_EXPORT_COMPILE_COMMANDS=ON-DENABLE_WHEEL=OFF- -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF+ -DCMAKE_COMPILE_WARNING_AS_ERROR=ON-DCMAKE_TOOLCHAIN_FILE=${OPENVINO_REPO}/cmake/toolchains/riscv64.linux.toolchain.cmake-DTHREADING=OMP-S ${OPENVINO_REPO}diff --git a/src/plugins/intel_cpu/src/nodes/subgraph.cpp b/src/plugins/intel_cpu/src/nodes/subgraph.cppindex 2e123299405..700a6d4d83b 100644--- a/src/plugins/intel_cpu/src/nodes/subgraph.cpp+++ b/src/plugins/intel_cpu/src/nodes/subgraph.cpp@@ -77,7 +77,7 @@#endif#include "emitters/snippets/cpu_runtime_configurator.hpp"-#if defined(OPENVINO_ARCH_X86_64) || defined(OPENVINO_ARCH_ARM64) || defined(OPENVINO_ARCH_RISCV64)+#if defined(OPENVINO_ARCH_X86_64) || defined(OPENVINO_ARCH_ARM64) || defined(SNIPPETS_DEBUG_CAPS)# include "snippets/lowered/pass/insert_perf_count_verbose.hpp"# include "snippets/lowered/pass/mark_loops.hpp"#endif@@ -680,7 +680,7 @@ Subgraph::DataFlowPasses Subgraph::getDataFlowPasses() {Subgraph::ControlFlowPassesSubgraph::getControlFlowPasses() { // NOLINT(readability-convert-member-functions-to-static)ControlFlowPasses backend_passes;-#if defined(OPENVINO_ARCH_X86_64) || defined(OPENVINO_ARCH_ARM64) || defined(OPENVINO_ARCH_RISCV64)+#if defined(OPENVINO_ARCH_X86_64) || defined(OPENVINO_ARCH_ARM64) || defined(SNIPPETS_DEBUG_CAPS)using PassPosition = ov::snippets::pass::PassPosition;using Place = PassPosition::Place;#endif