Skip to content

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

Reduce number of threads for Windows Conditional Compilation CC_Build even more (#35849)

Andrey Babushkinc63bd58e9858
diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml
index c96b3122cea..ded03c819c8 100644
--- a/.github/workflows/windows_conditional_compilation.yml
+++ b/.github/workflows/windows_conditional_compilation.yml
@@ -356,8 +356,10 @@ jobs:
-S ${{ env.OPENVINO_REPO }} `
-B ${{ env.BUILD_DIR }}
+ # Number of threads is hardcoded due to OutOfMemory issues. Unless we switch CMake's generator to Ninja, we can't
+ # set number of jobs separately for compilation and linking. The issue most likely occurs during linking.
- name: Cmake build - CC ON
- run: cmake --build ${{ env.BUILD_DIR }} --parallel 12 --config ${{ env.CMAKE_BUILD_TYPE }} --target benchmark_app -- /verbosity:minimal
+ run: cmake --build ${{ env.BUILD_DIR }} --parallel 8 --config ${{ env.CMAKE_BUILD_TYPE }} --target benchmark_app -- /verbosity:minimal
- name: List bin files
shell: cmd