Skip to content

Commit da8a3c0

Browse files
committed
update Android CI workflows: enforce ccache usage for C/C++ compilation
1 parent 1128e10 commit da8a3c0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

experiments/android_example.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ openvino:
3434
options:
3535
CMAKE_BUILD_TYPE: "Release" # Build type: Release, Debug, RelWithDebInfo
3636
CMAKE_GENERATOR: "Ninja" # Build system generator (Ninja recommended for speed)
37-
# CMAKE_C_COMPILER_LAUNCHER and CMAKE_CXX_COMPILER_LAUNCHER auto-detected if ccache is available
37+
CMAKE_C_COMPILER_LAUNCHER: "ccache" # Use ccache for C compilation
38+
CMAKE_CXX_COMPILER_LAUNCHER: "ccache" # Use ccache for C++ compilation
3839
# Android toolchain options (CMAKE_TOOLCHAIN_FILE, ANDROID_ABI, etc.) autoconfigured from toolchain settings
3940

4041
# OpenVINO component options

experiments/android_x86_64_ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ openvino:
3535
options:
3636
CMAKE_BUILD_TYPE: "Release" # Build type: Release, Debug, RelWithDebInfo
3737
CMAKE_GENERATOR: "Ninja" # Build system generator (Ninja recommended for speed)
38-
# CMAKE_C_COMPILER_LAUNCHER and CMAKE_CXX_COMPILER_LAUNCHER auto-detected if ccache is available
38+
CMAKE_C_COMPILER_LAUNCHER: "ccache" # Use ccache for C compilation
39+
CMAKE_CXX_COMPILER_LAUNCHER: "ccache" # Use ccache for C++ compilation
3940
# Android toolchain options (CMAKE_TOOLCHAIN_FILE, ANDROID_ABI, etc.) autoconfigured from toolchain settings
4041

4142
# OpenVINO component options

0 commit comments

Comments
 (0)