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
[CPU][RV64] Suppress SHL library warnings (#31431)
Arseniy Obolenskiy9bf706c887e5
diff --git a/src/plugins/intel_cpu/thirdparty/CMakeLists.txt b/src/plugins/intel_cpu/thirdparty/CMakeLists.txtindex ea80266e497..a99dbc3bd61 100644--- a/src/plugins/intel_cpu/thirdparty/CMakeLists.txt+++ b/src/plugins/intel_cpu/thirdparty/CMakeLists.txt@@ -182,7 +182,22 @@ if(ENABLE_MLAS_FOR_CPU)endif()if(ENABLE_SHL_FOR_CPU)- add_subdirectory(shl)+ function(ov_build_shl_static)+ ov_add_compiler_flags(-Wno-missing-declarations)+ ov_add_compiler_flags(-Wno-unused-variable)+ ov_add_compiler_flags(-Wno-unused-but-set-variable)+ ov_add_compiler_flags(-Wno-strict-aliasing)+ ov_add_compiler_flags(-Wno-return-type)+ ov_add_compiler_flags(-Wno-unknown-pragmas)+ ov_add_compiler_flags(-Wno-parentheses)+ ov_add_compiler_flags(-Wno-maybe-uninitialized)+ ov_add_compiler_flags(-Wno-unused-function)+ ov_add_compiler_flags(-Wno-suggest-parentheses)+ add_subdirectory(shl)+ endfunction()++ # Suppress warnings detected in SHL library build to clean up RISC-V build log.+ ov_build_shl_static()ov_install_static_lib(shl ${OV_CPACK_COMP_CORE})endif()