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
Make clang-tidy build enabled by default on x86 only (#29562)
Arseniy Obolenskiy047f1599c652
diff --git a/cmake/developer_package/features.cmake b/cmake/developer_package/features.cmakeindex 617a58ac6fe..b0ca786f28e 100644--- a/cmake/developer_package/features.cmake+++ b/cmake/developer_package/features.cmake@@ -74,13 +74,19 @@ else()set(STYLE_CHECKS_DEFAULT ON)endif()+if(NOT CMAKE_CROSSCOMPILING AND NOT WIN32 AND (X86 OR X86_64))+ set(TIDY_CHECKS_DEFAULT ON)+else()+ set(TIDY_CHECKS_DEFAULT OFF)+endif()+ov_option (ENABLE_CPPLINT "Enable cpplint checks during the build" ${STYLE_CHECKS_DEFAULT})ov_dependent_option (ENABLE_CPPLINT_REPORT "Build cpplint report instead of failing the build" OFF "ENABLE_CPPLINT" OFF)ov_option (ENABLE_CLANG_FORMAT "Enable clang-format checks during the build" ${STYLE_CHECKS_DEFAULT})-ov_option (ENABLE_CLANG_TIDY "Enable clang-tidy checks during the build" ${STYLE_CHECKS_DEFAULT})+ov_option (ENABLE_CLANG_TIDY "Enable clang-tidy checks during the build" ${TIDY_CHECKS_DEFAULT})ov_option (ENABLE_NCC_STYLE "Enable ncc style check" ${STYLE_CHECKS_DEFAULT})