Skip to content

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

Separate FetchContent cache dirs for different CMake generators (#33286)

Andrey Babushkinc551c6473b2d
diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml
index 68bbdbd9cd8..65333420f94 100644
--- a/.github/workflows/windows_conditional_compilation.yml
+++ b/.github/workflows/windows_conditional_compilation.yml
@@ -175,7 +175,7 @@ jobs:
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON `
-DCMAKE_JOB_POOLS:STRING=link_jobs=20 `
-DCMAKE_JOB_POOL_LINK:STRING=link_jobs `
- -DFETCHCONTENT_BASE_DIR="C:\FetchContentCache" `
+ -DFETCHCONTENT_BASE_DIR="C:\fcc\ninja_multi_config" `
-S ${{ env.OPENVINO_REPO }} `
-B ${{ env.BUILD_DIR }}
diff --git a/.github/workflows/windows_vs2022_debug.yml b/.github/workflows/windows_vs2022_debug.yml
index 12696c05273..93739f5d5c6 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
+ -DFETCHCONTENT_BASE_DIR="C:\fcc\ninja"
CXX_Unit_Tests:
name: C++ unit tests
diff --git a/.github/workflows/windows_vs2022_release.yml b/.github/workflows/windows_vs2022_release.yml
index 9c08285ff40..28c0f9391bf 100644
--- a/.github/workflows/windows_vs2022_release.yml
+++ b/.github/workflows/windows_vs2022_release.yml
@@ -80,7 +80,7 @@ jobs:
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON
- -DFETCHCONTENT_BASE_DIR="C:\FetchContentCache"
+ -DFETCHCONTENT_BASE_DIR="C:\fcc\ninja_multi_config"
Samples:
needs: [ Build, Smart_CI ]