Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GHA] Reduce verbosity of build actions (#35473)

Egor Duplenskii1576df823ae2
diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tag
index 7db0cfe5e9c..26f4e3817f9 100644
--- a/.github/dockerfiles/docker_tag
+++ b/.github/dockerfiles/docker_tag
@@ -1 +1 @@
-pr-34202
+pr-35473
diff --git a/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile b/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
index 0da0734f5a5..1fc147949c3 100644
--- a/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
+++ b/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
@@ -250,4 +250,7 @@ RUN python3 -m pip install --upgrade pip==${PIP_VERSION} && \
RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
+# Install newer ninja (apt ships older version on debian 10 lacking --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
diff --git a/.github/dockerfiles/ov_build/fedora_29/Dockerfile b/.github/dockerfiles/ov_build/fedora_29/Dockerfile
index f5dcab8c7c5..41b272abb7c 100644
--- a/.github/dockerfiles/ov_build/fedora_29/Dockerfile
+++ b/.github/dockerfiles/ov_build/fedora_29/Dockerfile
@@ -114,6 +114,9 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python3.14t get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
rm -f get-pip.py
+# Install newer ninja (dnf ships older version lacking --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
# Install Node
diff --git a/.github/dockerfiles/ov_build/manylinux_2_28/Dockerfile b/.github/dockerfiles/ov_build/manylinux_2_28/Dockerfile
index b1312037423..6ff3230584f 100644
--- a/.github/dockerfiles/ov_build/manylinux_2_28/Dockerfile
+++ b/.github/dockerfiles/ov_build/manylinux_2_28/Dockerfile
@@ -18,3 +18,6 @@ RUN mkdir ${SCCACHE_HOME} && cd ${SCCACHE_HOME} && \
# To make python3 and pip binaries accessible
ENV PATH="/opt/python/cp311-cp311/bin:$SCCACHE_HOME:$PATH"
+
+# Install newer ninja (yum ships older version lacking --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
diff --git a/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
index 7174da8858a..4120ec0dc91 100644
--- a/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
@@ -74,4 +74,7 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
RUN python3.10 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
+# Install newer ninja (apt ships 1.10.0 on 20.04 which lacks --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_android/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_android/Dockerfile
index ff86619ab03..9ee4faccbe8 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_android/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_android/Dockerfile
@@ -24,7 +24,8 @@ RUN apt update && \
build-essential \
python3-pip && \
# vcpkg requires cmake 3.19 or later
- python3 -m pip install -U pip cmake~=3.28.0 && \
+ # ninja>=1.11 needed for --quiet support (apt ships 1.10.1 on 22.04)
+ python3 -m pip install -U pip cmake~=3.28.0 ninja==1.13.0 && \
# vcpkg's tool dependencies
apt install curl zip unzip tar && \
# vcpkg 'python3' port dependencies
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_arm64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_arm64/Dockerfile
index 5a7b94c9a1e..e839d8e16d6 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_arm64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_arm64/Dockerfile
@@ -102,6 +102,9 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
+# Install newer ninja (apt ships 1.10.1 on 22.04 which lacks --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
# ONNX Runtime, see https://github.com/microsoft/onnxruntime/issues/13197#issuecomment-1264542497
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_arm64_cross_compilation/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_arm64_cross_compilation/Dockerfile
index 524de9fc22a..8bc65c7ee3f 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_arm64_cross_compilation/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_arm64_cross_compilation/Dockerfile
@@ -127,6 +127,9 @@ ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$PATH"
+# Install newer ninja (apt ships 1.10.1 on 22.04 which lacks --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
# Install Node
ENV NODE_VERSION=21.7.3
ENV NVM_DIR=/.nvm
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile
index 113cd7af65f..0b1cbd47d1c 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile
@@ -88,3 +88,6 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python3 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
rm -f get-pip.py
+# Install newer ninja (apt ships 1.10.1 on 22.04 which lacks --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
index 2044483af2c..701e3e38d17 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
@@ -94,6 +94,9 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
+# Install newer ninja (apt ships 1.10.1 on 22.04 which lacks --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
# ONNX Runtime, see https://github.com/microsoft/onnxruntime/issues/13197#issuecomment-1264542497
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_x64_cc/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_x64_cc/Dockerfile
index dea3e8c2625..a0430b2ac06 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_x64_cc/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_x64_cc/Dockerfile
@@ -73,4 +73,7 @@ RUN curl https://bootstrap.pypa.io/pip/3.8/get-pip.py -o get-pip-3.8.py && \
RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
+# Install newer ninja (apt ships 1.10.1 on 22.04 which lacks --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_x64_dpcpp/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_x64_dpcpp/Dockerfile
index 23111f59dd6..4526f16e16c 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_x64_dpcpp/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_x64_dpcpp/Dockerfile
@@ -74,6 +74,9 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
+# Install newer ninja (apt ships 1.10.1 on 22.04 which lacks --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
# OneAPI env
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_x64_nvidia/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_x64_nvidia/Dockerfile
index 8c6bdf43bda..a7c3d21cff5 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_x64_nvidia/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_x64_nvidia/Dockerfile
@@ -72,4 +72,7 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
+# Install newer ninja (apt ships 1.10.1 on 22.04 which lacks --quiet)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
diff --git a/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
index 8d4899e6bdf..db20fc62bf2 100644
--- a/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
@@ -84,4 +84,7 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python3.14 -m pip install --upgrade pip==${PIP_VERSION} && \
python3.14t get-pip.py --no-cache-dir pip==${PIP_VERSION}
+# Install newer ninja (apt ships 1.10.1 on 22.04 / 1.11.1 on 24.04; pin for consistency)
+RUN python3 -m pip install --no-cache-dir ninja==1.13.0
+
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 7763895f167..9d6dd10be2f 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -217,7 +217,7 @@ jobs:
-B ${TBB_BUILD}
- name: Build OneTBB project
- run: cmake --build ${TBB_BUILD} --parallel $(nproc)
+ run: cmake --build ${TBB_BUILD} --parallel $(nproc) -- --quiet
- name: Install OneTBB project
run: cmake --install ${TBB_BUILD}
@@ -239,6 +239,7 @@ jobs:
-DTHREADING=TBB \
-DTBB_DIR=${{ env.TBB_CMAKE_DIR }} \
-DENABLE_FASTER_BUILD=ON \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DOPENVINO_EXTRA_MODULES=${{ env.OPENVINO_GENAI_REPO }} \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
@@ -254,7 +255,7 @@ jobs:
-B ${BUILD_DIR}
- name: CMake - build OpenVINO
- run: cmake --build ${BUILD_DIR} --parallel $(nproc)
+ run: cmake --build ${BUILD_DIR} --parallel $(nproc) -- --quiet
- name: Show ccache stats
run: ${SCCACHE_PATH} --show-stats
@@ -270,6 +271,14 @@ jobs:
path: ${{ env.SCCACHE_ERROR_LOG }}
if-no-files-found: 'ignore'
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_android_${{ matrix.arch }}
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Prepare build and test artifacts (split)
run: |
# Prepare directories
diff --git a/.github/workflows/build_doc.yml b/.github/workflows/build_doc.yml
index 21c46a92d23..bdda62e981d 100644
--- a/.github/workflows/build_doc.yml
+++ b/.github/workflows/build_doc.yml
@@ -119,7 +119,7 @@ jobs:
- name: Build docs
run: |
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_DOCS=ON -S ${OPENVINO_REPO} -B ${BUILD_DIR}
- cmake --build ${BUILD_DIR} --target sphinx_docs
+ cmake --build ${BUILD_DIR} --target sphinx_docs -- --quiet
- name: Cache documentation
id: cache_sphinx_docs
diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml
index f8b31e87575..750c02ff38e 100644
--- a/.github/workflows/clang_tidy.yml
+++ b/.github/workflows/clang_tidy.yml
@@ -174,6 +174,7 @@ jobs:
-DENABLE_PYTHON=OFF \
-DENABLE_TESTS=OFF \
-DENABLE_NCC_STYLE=OFF \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
-S ${OPENVINO_REPO} \
@@ -188,6 +189,14 @@ jobs:
--target openvino_intel_cpu_plugin \
-- --quiet -k 0
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_clang_tidy_x86_64
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Show sccache stats
run: ${SCCACHE_PATH} --show-stats
@@ -249,6 +258,7 @@ jobs:
-DENABLE_TESTS=OFF \
-DENABLE_NCC_STYLE=OFF \
-DCMAKE_RULE_MESSAGES=OFF \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
-S ${OPENVINO_REPO} \
@@ -264,6 +274,14 @@ jobs:
-- -k
# TODO: add --quiet after switch to Ubuntu 24.04+
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_clang_tidy_aarch64
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Show sccache stats
run: ${SCCACHE_PATH} --show-stats
@@ -326,6 +344,7 @@ jobs:
-DENABLE_TESTS=OFF \
-DENABLE_NCC_STYLE=OFF \
-DCMAKE_RULE_MESSAGES=OFF \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
-DTHREADING=SEQ \
@@ -342,6 +361,14 @@ jobs:
-- -k
# TODO: add --quiet after switch to Ubuntu 24.04+
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_clang_tidy_riscv64
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
Overall_Status:
name: ci/gha_overall_status_clang_tidy
needs: [Smart_CI, Build, Build-aarch64, Build-riscv64]
diff --git a/.github/workflows/code_snippets.yml b/.github/workflows/code_snippets.yml
index 362dc5a159c..7fd649b693d 100644
--- a/.github/workflows/code_snippets.yml
+++ b/.github/workflows/code_snippets.yml
@@ -45,14 +45,22 @@ jobs:
run: brew install scons
- name: CMake configure
- run: cmake -DCMAKE_BUILD_TYPE=Release -DTHREADING=SEQ -B build
+ run: cmake -DCMAKE_BUILD_TYPE=Release -DTHREADING=SEQ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -B build
- name: Build snippets
if: ${{ runner.os == 'Linux' || runner.os == 'macOS'}}
- run: cmake --build build --target openvino_docs_snippets --parallel $(nproc)
+ run: cmake --build build --target openvino_docs_snippets --parallel $(nproc) -- --quiet
- name: Build snippets Windows
if: ${{ runner.os == 'Windows'}}
shell: pwsh
- run: cmake --build build --target openvino_docs_snippets --parallel $ENV:NUMBER_OF_PROCESSORS
+ run: cmake --build build --target openvino_docs_snippets --parallel $ENV:NUMBER_OF_PROCESSORS -- /verbosity:minimal
+
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_code_snippets_${{ matrix.os }}
+ path: build/compile_commands.json
+ if-no-files-found: 'ignore'
diff --git a/.github/workflows/code_style.yml b/.github/workflows/code_style.yml
index 5e03e9fd9e0..b37245797c7 100644
--- a/.github/workflows/code_style.yml
+++ b/.github/workflows/code_style.yml
@@ -92,7 +92,7 @@ jobs:
run: cmake -DENABLE_PYTHON=ON -DENABLE_TESTS=ON -DENABLE_PROFILING_ITT=FULL -DSELECTIVE_BUILD=COLLECT -DENABLE_SNIPPETS_LIBXSMM_TPP=ON -B build
- name: Create code style diff
- run: cmake --build build --target clang_format_fix_all -j8
+ run: cmake --build build --target clang_format_fix_all -j8 -- --quiet
- name: suggester / clang-format
if: startsWith(github.event_name, 'pull_request')
@@ -124,7 +124,7 @@ jobs:
run: cmake -DENABLE_CLANG_FORMAT=ON -DENABLE_TESTS=ON -DENABLE_PROFILING_ITT=FULL -DSELECTIVE_BUILD=COLLECT -DENABLE_SNIPPETS_LIBXSMM_TPP=ON -DCMAKE_TOOLCHAIN_FILE=cmake/arm64.toolchain.cmake -B build_arm64
- name: Create code style diff
- run: cmake --build build_arm64 --target clang_format_fix_all -j8
+ run: cmake --build build_arm64 --target clang_format_fix_all -j8 -- --quiet
- name: suggester / clang-format
if: startsWith(github.event_name, 'pull_request')
@@ -153,7 +153,7 @@ jobs:
run: cmake -DENABLE_CLANG_FORMAT=ON -DENABLE_TESTS=ON -DENABLE_PROFILING_ITT=FULL -DSELECTIVE_BUILD=COLLECT -DTHREADING=SEQ -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/riscv64.linux.toolchain.cmake -B build_riscv64
- name: Create code style diff
- run: cmake --build build_riscv64 --target clang_format_fix_all -j8
+ run: cmake --build build_riscv64 --target clang_format_fix_all -j8 -- --quiet
- name: suggester / clang-format
if: startsWith(github.event_name, 'pull_request')
@@ -182,7 +182,7 @@ jobs:
run: cmake -B build
- name: Shellcheck cmake target
- run: cmake --build build --target ov_shellcheck -j8
+ run: cmake --build build --target ov_shellcheck -j8 -- --quiet
# always provide suggestions even for skipped scripts in ov_shellcheck tagret
- name: ShellCheck action
@@ -218,4 +218,4 @@ jobs:
run: cmake -B build
- name: Naming convention check
- run: cmake --build build --target ncc_all -j8
\ No newline at end of file
+ run: cmake --build build --target ncc_all -j8 -- --quiet
\ No newline at end of file
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index af4cfa3ddfe..a412f58dbaf 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -91,7 +91,7 @@ jobs:
-DENABLE_FUNCTIONAL_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_SYSTEM_OPENCL=ON
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCPACK_GENERATOR=TGZ
-DENABLE_WHEEL=ON
-DENABLE_PYTHON=ON
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 04bec34b1aa..0a99dc7ef91 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -153,7 +153,7 @@ jobs:
cmake \
-G "${{ env.CMAKE_GENERATOR }}" \
-DENABLE_STRICT_DEPENDENCIES=OFF \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DENABLE_FASTER_BUILD=ON \
-S ${OPENVINO_REPO} \
-B ${BUILD_DIR}
@@ -167,7 +167,7 @@ jobs:
popd
- name: Cmake build - OpenVINO with Coverity
- run: ${COVERITY_TOOL_DIR}/cov-analysis*/bin/cov-build --dir ${BUILD_DIR}/cov-int cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ run: ${COVERITY_TOOL_DIR}/cov-analysis*/bin/cov-build --dir ${BUILD_DIR}/cov-int cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
- name: Pack Artefacts
run: tar -cvf - cov-int | pigz > openvino.tgz
@@ -216,3 +216,11 @@ jobs:
name: coverity_archive
path: ${{ env.BUILD_DIR }}/openvino.tgz
if-no-files-found: 'error'
+
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_coverity
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
diff --git a/.github/workflows/debian_10_arm.yml b/.github/workflows/debian_10_arm.yml
index e58416153bc..883bbe0f9eb 100644
--- a/.github/workflows/debian_10_arm.yml
+++ b/.github/workflows/debian_10_arm.yml
@@ -112,7 +112,8 @@ jobs:
-DCMAKE_BUILD_TYPE=Release
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_NCC_STYLE=OFF
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
+ -DCMAKE_RULE_MESSAGES=OFF
-DENABLE_CONFORMANCE_PGQL=ON
-DENABLE_LTO=ON
-DENABLE_TESTS=ON
diff --git a/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml b/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml
index 4c7138e9cfe..47e3d5c4f4e 100644
--- a/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml
+++ b/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml
@@ -148,7 +148,7 @@ jobs:
-DENABLE_SNIPPETS_LIBXSMM_TPP=ON \
-DENABLE_STRICT_DEPENDENCIES=OFF \
-DENABLE_SYSTEM_OPENCL=ON \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCPACK_GENERATOR=TGZ \
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
@@ -160,7 +160,7 @@ jobs:
run: ${SCCACHE_PATH} --zero-stats
- name: Cmake build - OpenVINO
- run: cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ run: cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
- name: Show sccache stats
run: ${SCCACHE_PATH} --show-stats
@@ -193,6 +193,14 @@ jobs:
path: ${{ env.SCCACHE_ERROR_LOG }}
if-no-files-found: 'ignore'
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_libxsmm
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Upload OpenVINO package
if: ${{ always() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
diff --git a/.github/workflows/job_build_linux.yml b/.github/workflows/job_build_linux.yml
index 830458ca0a8..fbbf2226100 100644
--- a/.github/workflows/job_build_linux.yml
+++ b/.github/workflows/job_build_linux.yml
@@ -216,7 +216,7 @@ jobs:
run: ${SCCACHE_PATH} --zero-stats
- name: Cmake build - OpenVINO
- run: cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ run: cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
- name: Show sccache stats
run: ${SCCACHE_PATH} --show-stats
@@ -256,7 +256,7 @@ jobs:
fi
cmake ${CMAKE_OPTIONS} -S ${OPENVINO_REPO}/src/bindings/python -B ${PY_BUILD_DIR}
- cmake --build ${PY_BUILD_DIR} --parallel $(nproc)
+ cmake --build ${PY_BUILD_DIR} --parallel $(nproc) -- --quiet
cmake --install ${PY_BUILD_DIR} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_DIR} --component pyopenvino_python$py_version
cmake --install ${PY_BUILD_DIR} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_WHEELS_DIR} --component python_wheels
done
@@ -304,7 +304,7 @@ jobs:
-DPython3_EXECUTABLE=$python_exec \
-DCPACK_GENERATOR=DEB \
${BUILD_DIR}
- cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} --target package
+ cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} --target package -- --quiet
- name: Cmake & Build - OpenVINO Contrib
if: ${{ inputs.build-contrib }}
@@ -315,7 +315,7 @@ jobs:
-DENABLE_WHEEL=OFF \
-S ${OPENVINO_REPO} \
-B ${BUILD_DIR}
- cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
- name: CMake configure, build and install - OpenVINO JS API
if: ${{ fromJSON(inputs.affected-components).JS_API && inputs.build-js }}
@@ -324,7 +324,7 @@ jobs:
-DCPACK_GENERATOR=NPM \
-DENABLE_SYSTEM_TBB=OFF \
-DENABLE_WHEEL=OFF
- cmake --build ${BUILD_DIR} --parallel $(nproc)
+ cmake --build ${BUILD_DIR} --parallel $(nproc) -- --quiet
cmake --install ${BUILD_DIR} --prefix ${INSTALL_DIR_JS}
- name: Pack openvino_js_package
@@ -359,7 +359,7 @@ jobs:
-DENABLE_WHEEL=OFF \
-DENABLE_TESTS=OFF \
${BUILD_DIR}
- cmake --build ${BUILD_DIR} --parallel $(nproc) --target package --verbose
+ cmake --build ${BUILD_DIR} --parallel $(nproc) --target package -- --quiet
#
# Upload build artifacts and logs
@@ -372,6 +372,14 @@ jobs:
path: ${{ env.SCCACHE_ERROR_LOG }}
if-no-files-found: 'ignore'
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_${{ inputs.os }}_${{ inputs.arch }}
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Upload OpenVINO package
if: ${{ always() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
diff --git a/.github/workflows/job_build_windows.yml b/.github/workflows/job_build_windows.yml
index 7ec796e123f..b849fd71902 100644
--- a/.github/workflows/job_build_windows.yml
+++ b/.github/workflows/job_build_windows.yml
@@ -174,7 +174,7 @@ jobs:
run: '& ccache --zero-stats'
- name: Cmake build - OpenVINO
- run: cmake --build ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --parallel $ENV:NUMBER_OF_PROCESSORS --verbose
+ run: cmake --build ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --parallel $ENV:NUMBER_OF_PROCESSORS -- --quiet
- name: Show ccache stats
if: ${{ inputs.build-type != 'Debug' }}
@@ -252,7 +252,7 @@ jobs:
cmake -DPython3_EXECUTABLE="$pythonExecutablePath" -DENABLE_GIL_PYTHON_API=ON -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -DOpenVINODeveloperPackage_DIR=${{ env.BUILD_DIR }} -S ${{ env.OPENVINO_REPO }}/src/bindings/python -B "$pyBuildDir"
}
- cmake --build "$pyBuildDir" --parallel $ENV:NUMBER_OF_PROCESSORS --target ie_wheel --config ${{ env.CMAKE_BUILD_TYPE }} &&
+ cmake --build "$pyBuildDir" --parallel $ENV:NUMBER_OF_PROCESSORS --target ie_wheel --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet &&
cmake --install "$pyBuildDir" --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheels &&
cmake --install "$pyBuildDir" --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }} --component pyopenvino_python$pyVersion
if ($LASTEXITCODE -ne 0) {
@@ -294,7 +294,7 @@ jobs:
cmake -DPython3_EXECUTABLE="$pythonExecutablePath" -DENABLE_GIL_PYTHON_API=OFF -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -DOpenVINODeveloperPackage_DIR=${{ env.BUILD_DIR }} -S ${{ env.OPENVINO_REPO }}/src/bindings/python -B "$pyBuildDir"
- cmake --build "$pyBuildDir" --parallel $ENV:NUMBER_OF_PROCESSORS --target ie_wheel --config ${{ env.CMAKE_BUILD_TYPE }} &&
+ cmake --build "$pyBuildDir" --parallel $ENV:NUMBER_OF_PROCESSORS --target ie_wheel --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet &&
cmake --install "$pyBuildDir" --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheels &&
cmake --install "$pyBuildDir" --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }} --component pyopenvino_python$pyVersion
if ($LASTEXITCODE -ne 0) {
@@ -354,7 +354,7 @@ jobs:
-DCPACK_GENERATOR=NPM `
-DENABLE_SYSTEM_TBB=OFF `
-DENABLE_WHEEL=OFF
- cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS
+ cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS -- --quiet
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR_JS }}
- name: Pack JS Artifacts
@@ -388,12 +388,20 @@ jobs:
cmake -DCUSTOM_OPERATIONS="calculate_grid;complex_mul;fft;grid_sample;sparse_conv;sparse_conv_transpose" -S ${{ env.OPENVINO_REPO }} -B ${{ env.BUILD_DIR }} `
-DOPENVINO_EXTRA_MODULES="${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations;${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api" `
-DENABLE_WHEEL=OFF
- cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS
+ cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS -- --quiet
#
# Upload build artifacts and logs
#
+ - name: Upload compile_commands
+ if: always()
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ with:
+ name: compile_commands_windows_${{ inputs.build-type }}
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Upload OpenVINO package
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.yml
index e036f75efa7..1b871c31609 100644
--- a/.github/workflows/linux_arm64.yml
+++ b/.github/workflows/linux_arm64.yml
@@ -116,7 +116,7 @@ jobs:
-DENABLE_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_SYSTEM_OPENCL=ON
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCPACK_GENERATOR=TGZ
-DENABLE_WHEEL=ON
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml
index 2849a1de81e..76bc9eadc33 100644
--- a/.github/workflows/linux_conditional_compilation.yml
+++ b/.github/workflows/linux_conditional_compilation.yml
@@ -190,6 +190,7 @@ jobs:
-DSELECTIVE_BUILD=COLLECT \
-DENABLE_UNITY_BUILD=ON \
-DENABLE_DEBUG_CAPS=ON \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
-DCMAKE_JOB_POOLS:STRING=link_jobs=8 \
@@ -199,8 +200,8 @@ jobs:
- name: Cmake build - CC COLLECT
run: |
- cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
- cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} --target sea_itt_lib
+ cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
+ cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} --target sea_itt_lib -- --quiet
- name: Show sccache stats
run: ${SCCACHE_PATH} --show-stats
@@ -213,7 +214,7 @@ jobs:
- name: Build C++ samples - OpenVINO build tree
run: |
cmake -G "${{ env.CMAKE_GENERATOR }}" -DOpenVINO_DIR=${BUILD_DIR} -S ${INSTALL_DIR}/samples/cpp -B ${BUILD_DIR}/cpp_samples
- cmake --build ${BUILD_DIR}/cpp_samples --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} --target hello_query_device
+ cmake --build ${BUILD_DIR}/cpp_samples --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} --target hello_query_device -- --quiet
- name: Build C samples - OpenVINO install tree
run: ${INSTALL_DIR}/samples/c/build_samples.sh -i ${INSTALL_DIR} -b ${BUILD_DIR}/c_samples
@@ -260,6 +261,14 @@ jobs:
path: ${{ env.SCCACHE_ERROR_LOG }}
if-no-files-found: 'ignore'
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_linux_cc_collect
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Upload OpenVINO package
if: ${{ always() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
@@ -365,17 +374,26 @@ jobs:
-DENABLE_OV_JAX_FRONTEND=OFF \
-DENABLE_OV_ONNX_FRONTEND=OFF \
-DSELECTIVE_BUILD_STAT=${SELECTIVE_BUILD_STAT_DIR}/*.csv \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
-S ${OPENVINO_REPO} \
-B ${BUILD_DIR}
- name: Cmake build - CC ON
- run: cmake --build ${BUILD_DIR} --parallel 8 --target benchmark_app
+ run: cmake --build ${BUILD_DIR} --parallel 8 --target benchmark_app -- --quiet
- name: Show ccache stats
run: ${SCCACHE_PATH} --show-stats
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_linux_cc_on
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Run with CC-ed runtime
run: ${OPENVINO_REPO}/bin/intel64/Release/benchmark_app -niter 1 -nireq 1 -m ${MODELS_PATH}/models/test_model/test_model_fp32.xml -d CPU
diff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.yml
index 5acb5604983..ae05e146e23 100644
--- a/.github/workflows/linux_riscv.yml
+++ b/.github/workflows/linux_riscv.yml
@@ -188,7 +188,7 @@ jobs:
-DENABLE_PYTHON=OFF
-DENABLE_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DENABLE_WHEEL=OFF
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF
-DCMAKE_TOOLCHAIN_FILE=${OPENVINO_REPO}/cmake/toolchains/riscv64.linux.toolchain.cmake
@@ -196,7 +196,7 @@ jobs:
-B ${BUILD_DIR}
- name: Cmake - Build
- run: cmake --build ${BUILD_DIR} --parallel $(nproc)
+ run: cmake --build ${BUILD_DIR} --parallel $(nproc) -- --quiet
- name: Show ccache stats and cleanup
run: |
@@ -233,6 +233,14 @@ jobs:
path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz
if-no-files-found: 'error'
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_linux_riscv
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
CPU_Functional_Tests:
name: CPU functional tests
timeout-minutes: 30
diff --git a/.github/workflows/linux_riscv_conan.yml b/.github/workflows/linux_riscv_conan.yml
index cc77d05da39..f52cfe74ee4 100644
--- a/.github/workflows/linux_riscv_conan.yml
+++ b/.github/workflows/linux_riscv_conan.yml
@@ -218,7 +218,7 @@ jobs:
-DTHREADING=OMP \
-DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" \
-DCMAKE_C_FLAGS="-Wno-deprecated-declarations" \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \
-DCMAKE_TOOLCHAIN_FILE=${OPENVINO_BUILD_DIR}/dependencies/conan_toolchain.cmake \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
@@ -230,13 +230,13 @@ jobs:
source ${OPENVINO_BUILD_DIR}/dependencies/deactivate_conanbuild.sh
- name: Cmake - Build
- run: cmake --build ${OPENVINO_BUILD_DIR} --parallel $(nproc)
+ run: cmake --build ${OPENVINO_BUILD_DIR} --parallel $(nproc) -- --quiet
- name: Show ccache stats
run: ccache --show-stats
- name: Cmake - Install
- run: cmake --build ${OPENVINO_BUILD_DIR} --parallel $(nproc) --target install
+ run: cmake --build ${OPENVINO_BUILD_DIR} --parallel $(nproc) --target install -- --quiet
- name: Build OpenVINO C++ samples
run: |
@@ -249,6 +249,14 @@ jobs:
- name: Clean ccache
run: ccache --cleanup
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_linux_riscv_conan
+ path: ${{ env.OPENVINO_BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
Overall_Status:
name: ci/gha_overall_status_linux_riscv_conan
needs: [Smart_CI, Build]
diff --git a/.github/workflows/linux_sanitizers.yml b/.github/workflows/linux_sanitizers.yml
index 9f5abb4fc5f..77bfd38e547 100644
--- a/.github/workflows/linux_sanitizers.yml
+++ b/.github/workflows/linux_sanitizers.yml
@@ -183,7 +183,7 @@ jobs:
-DENABLE_TESTS=ON \
-DENABLE_STRICT_DEPENDENCIES=OFF \
-DENABLE_SYSTEM_OPENCL=ON \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCPACK_GENERATOR=TGZ \
-DENABLE_OV_TF_FRONTEND=ON \
-DENABLE_OV_TF_LITE_FRONTEND=ON \
@@ -202,7 +202,15 @@ jobs:
- name: Cmake build - OpenVINO
run: |
- cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ cmake --build ${BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
+
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_linux_sanitizer_${{ matrix.SANITIZER }}
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
- name: Cmake install - OpenVINO
run: |
diff --git a/.github/workflows/mac_arm64.yml b/.github/workflows/mac_arm64.yml
index 6b3be735480..180f8c86132 100644
--- a/.github/workflows/mac_arm64.yml
+++ b/.github/workflows/mac_arm64.yml
@@ -187,13 +187,22 @@ jobs:
-DENABLE_WHEEL=OFF \
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \
-DENABLE_STRICT_DEPENDENCIES=OFF \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
- name: Cmake build - OpenVINO
- run: cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ run: cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
+
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_mac_arm64
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
- name: Show ccache stats
run: ccache --show-stats
@@ -272,7 +281,7 @@ jobs:
fi
cmake -DPython3_EXECUTABLE=$python_exec_path -DENABLE_WHEEL=ON $gil_option -DOpenVINODeveloperPackage_DIR=${{ env.BUILD_DIR }} -S ${{ env.OPENVINO_REPO }}/src/bindings/python -B ${{ github.workspace }}/py$py_version
- cmake --build ${{ github.workspace }}/py$py_version --parallel
+ cmake --build ${{ github.workspace }}/py$py_version --parallel -- --quiet
cmake --install ${{ github.workspace }}/py$py_version --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheels
done
@@ -291,7 +300,7 @@ jobs:
-DOPENVINO_EXTRA_MODULES=${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
- cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
- name: CMake configure, build and install - OpenVINO JS API
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
@@ -300,7 +309,7 @@ jobs:
-DCPACK_GENERATOR=NPM \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
- cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc)
+ cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) -- --quiet
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR_JS }} -P ${{ env.BUILD_DIR }}/cmake_install.cmake
- name: Pack openvino_js_package
diff --git a/.github/workflows/manylinux_2_28.yml b/.github/workflows/manylinux_2_28.yml
index 4143503f17a..6e1b2b37f4c 100644
--- a/.github/workflows/manylinux_2_28.yml
+++ b/.github/workflows/manylinux_2_28.yml
@@ -173,13 +173,13 @@ jobs:
/usr/bin/cmake -DPython3_EXECUTABLE=/usr/local/bin/python3.12 \
-DENABLE_NCC_STYLE=OFF \
-DENABLE_TESTS=ON \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DENABLE_OV_JAX_FRONTEND=OFF \
-DENABLE_PYTHON=ON \
-DENABLE_WHEEL=ON \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
- /usr/bin/cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ /usr/bin/cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
/usr/bin/cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }}
/usr/bin/cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_TEST_DIR }} --component tests
env:
@@ -209,7 +209,7 @@ jobs:
/usr/bin/cmake -DPython3_EXECUTABLE=${python_path} -DOpenVINODeveloperPackage_DIR=${{ env.BUILD_DIR }} -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -S ${{ env.OPENVINO_REPO }}/src/bindings/python -B ${py_build_dir}
fi
- /usr/bin/cmake --build ${py_build_dir} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }}
+ /usr/bin/cmake --build ${py_build_dir} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet
/usr/bin/cmake --install ${py_build_dir} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheels
/usr/bin/cmake --install ${py_build_dir} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }} --component pyopenvino_python${PY_VER}
@@ -221,7 +221,7 @@ jobs:
-DCPACK_GENERATOR=NPM \
-DENABLE_SYSTEM_TBB=OFF \
-DENABLE_WHEEL=OFF
- /usr/bin/cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc)
+ /usr/bin/cmake --build ${{ env.BUILD_DIR }} --parallel $(nproc) -- --quiet
/usr/bin/cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.OPENVINO_REPO }}/src/bindings/js/node/bin
- name: Pack Artifacts
@@ -274,6 +274,14 @@ jobs:
path: ${{ env.BUILD_DIR }}/openvino_node_npm_package.tar.gz
if-no-files-found: 'error'
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_manylinux_2_28
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
- name: Store artifacts to a shared drive
id: store_artifacts
if: ${{ github.event_name != 'merge_group' }}
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index 4b7035b6c7e..879ed24a9ee 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -137,7 +137,7 @@ jobs:
-DENABLE_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_SYSTEM_OPENCL=ON
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCPACK_GENERATOR=TGZ
-DENABLE_WHEEL=ON
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
@@ -565,7 +565,7 @@ jobs:
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \
-S ${OPENVINO_CONTRIB_REPO}/modules/nvidia_plugin \
-B ${NVIDIA_BUILD_DIR}
- cmake --build ${NVIDIA_BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} --verbose -- ov_nvidia_func_tests ov_nvidia_unit_tests
+ cmake --build ${NVIDIA_BUILD_DIR} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet ov_nvidia_func_tests ov_nvidia_unit_tests
- name: Show ccache stats
run: ${SCCACHE_PATH} --show-stats
diff --git a/.github/workflows/ubuntu_22_arm64_cross_compilation.yml b/.github/workflows/ubuntu_22_arm64_cross_compilation.yml
index bca88629b5f..1f0789d0687 100644
--- a/.github/workflows/ubuntu_22_arm64_cross_compilation.yml
+++ b/.github/workflows/ubuntu_22_arm64_cross_compilation.yml
@@ -152,7 +152,7 @@ jobs:
-DENABLE_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_SYSTEM_OPENCL=ON
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCPACK_GENERATOR=TGZ
-DENABLE_WHEEL=ON
-DENABLE_PYTHON=ON
diff --git a/.github/workflows/ubuntu_22_dpcpp.yml b/.github/workflows/ubuntu_22_dpcpp.yml
index cc0ff14e1a3..8ee6ed2c274 100644
--- a/.github/workflows/ubuntu_22_dpcpp.yml
+++ b/.github/workflows/ubuntu_22_dpcpp.yml
@@ -100,7 +100,7 @@ jobs:
-DENABLE_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_SYSTEM_OPENCL=ON
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCPACK_GENERATOR=TGZ
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
diff --git a/.github/workflows/ubuntu_24.yml b/.github/workflows/ubuntu_24.yml
index d75b69e11b7..eb8decbbad0 100644
--- a/.github/workflows/ubuntu_24.yml
+++ b/.github/workflows/ubuntu_24.yml
@@ -114,7 +114,7 @@ jobs:
-DENABLE_TESTS=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_SYSTEM_OPENCL=ON
- -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCPACK_GENERATOR=TGZ
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml
index c2b3dc06c95..0041c6cd9d7 100644
--- a/.github/workflows/windows_conditional_compilation.yml
+++ b/.github/workflows/windows_conditional_compilation.yml
@@ -175,6 +175,7 @@ jobs:
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON `
-DCMAKE_JOB_POOLS:STRING=link_jobs=20 `
-DCMAKE_JOB_POOL_LINK:STRING=link_jobs `
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON `
-DFETCHCONTENT_BASE_DIR="C:\fcc\ninja_multi_config" `
-S ${{ env.OPENVINO_REPO }} `
-B ${{ env.BUILD_DIR }}
@@ -184,8 +185,8 @@ jobs:
- name: Cmake build - CC COLLECT
run: |
- cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS --config ${{ env.CMAKE_BUILD_TYPE }} && `
- cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS --config ${{ env.CMAKE_BUILD_TYPE }} --target sea_itt_lib
+ cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS --config ${{ env.CMAKE_BUILD_TYPE }} -- --quiet && `
+ cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS --config ${{ env.CMAKE_BUILD_TYPE }} --target sea_itt_lib -- --quiet
- name: Show ccache stats
run: '& ccache --show-stats'
@@ -198,7 +199,7 @@ jobs:
- name: Build C++ samples - OpenVINO build tree
run: |
cmake -G "${{ env.CMAKE_GENERATOR }}" -DOpenVINO_DIR=${{ env.BUILD_DIR }} -S ${{ env.INSTALL_DIR }}/samples/cpp -B ${{ env.BUILD_DIR }}/cpp_samples
- cmake --build ${{ env.BUILD_DIR }}/cpp_samples --parallel $ENV:NUMBER_OF_PROCESSORS --config ${{ env.CMAKE_BUILD_TYPE }} --target hello_query_device
+ cmake --build ${{ env.BUILD_DIR }}/cpp_samples --parallel $ENV:NUMBER_OF_PROCESSORS --config ${{ env.CMAKE_BUILD_TYPE }} --target hello_query_device -- --quiet
- name: Ctest - OpenVINO unit tests
shell: cmd
@@ -266,7 +267,7 @@ jobs:
# install PDB files to OpenVINO main installation folder to ensure that they are used instead of PDB files from build folder
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }} --component pdb
# then, we need to clean build tree to remove PDB files
- cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS --config ${{ env.CMAKE_BUILD_TYPE }} --target clean
+ cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS --config ${{ env.CMAKE_BUILD_TYPE }} --target clean -- /verbosity:minimal
& ${{ env.INSTALL_DIR }}/samples/c/build_samples.ps1 -i ${{ env.INSTALL_DIR }} -b ${{ env.BUILD_DIR }}/c_samples
env:
CXXFLAGS: "/Zi"
@@ -310,6 +311,14 @@ jobs:
path: ${{ env.BUILD_DIR }}/openvino_tests.zip
if-no-files-found: 'error'
+ - name: Upload compile_commands
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ if: always()
+ with:
+ name: compile_commands_windows_cc_collect
+ path: ${{ env.BUILD_DIR }}/compile_commands.json
+ if-no-files-found: 'ignore'
+
CC_Build:
name: Conditional Compilation
timeout-minutes: 40
@@ -379,7 +388,7 @@ jobs:
-B ${{ env.BUILD_DIR }}
- name: Cmake build - CC ON
- run: cmake --build ${{ env.BUILD_DIR }} --parallel 12 --config ${{ env.CMAKE_BUILD_TYPE }} --target benchmark_app --verbose
+ run: cmake --build ${{ env.BUILD_DIR }} --parallel 12 --config ${{ env.CMAKE_BUILD_TYPE }} --target benchmark_app -- /verbosity:minimal
- name: List bin files
shell: cmd
diff --git a/.github/workflows/windows_vs2022_debug.yml b/.github/workflows/windows_vs2022_debug.yml
index f3172570219..5a3aa3600bd 100644
--- a/.github/workflows/windows_vs2022_debug.yml
+++ b/.github/workflows/windows_vs2022_debug.yml
@@ -76,6 +76,7 @@ jobs:
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DFETCHCONTENT_BASE_DIR="C:\fcc\ninja"
CXX_Unit_Tests:
diff --git a/.github/workflows/windows_vs2022_release.yml b/.github/workflows/windows_vs2022_release.yml
index 17431bd9c5e..26120f812b1 100644
--- a/.github/workflows/windows_vs2022_release.yml
+++ b/.github/workflows/windows_vs2022_release.yml
@@ -80,6 +80,7 @@ jobs:
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DFETCHCONTENT_BASE_DIR="C:\fcc\ninja_multi_config"
Samples: