Skip to content

Commit 56df018

Browse files
committed
Drop sccache for C/C++, the cache gets overloaded a lot
1 parent d786115 commit 56df018

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

.github/workflows/opencv-rust.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ jobs:
4040
OPENCV_LINKAGE: ${{ matrix.linkage }}
4141
SCCACHE_GHA_ENABLED: "true"
4242
RUSTC_WRAPPER: "sccache"
43-
CMAKE_C_COMPILER_LAUNCHER: "sccache"
44-
CMAKE_CXX_COMPILER_LAUNCHER: "sccache"
4543
steps:
4644
- uses: actions/checkout@v4
4745
- uses: dtolnay/rust-toolchain@stable
@@ -153,8 +151,6 @@ jobs:
153151
OPENCV_VERSION: 4.11.0
154152
SCCACHE_GHA_ENABLED: "true"
155153
RUSTC_WRAPPER: "sccache"
156-
CMAKE_C_COMPILER_LAUNCHER: "sccache"
157-
CMAKE_CXX_COMPILER_LAUNCHER: "sccache"
158154
steps:
159155
- uses: actions/checkout@v4
160156
- uses: mozilla-actions/sccache-action@v0.0.7

ci/install.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ if [[ "$os_family" == "Linux" ]]; then
2222
if [[ "${VCPKG_VERSION:-}" != "" ]]; then # vcpkg build
2323
"$ci_dir/install-ubuntu-vcpkg.sh"
2424
else
25-
# workaround for mozilla/sccache action problem /bin/sh: 1: sccache: not found when running `sudo make install`
26-
if [[ "${CMAKE_C_COMPILER_LAUNCHER:-}" == "sccache" ]]; then
27-
export CMAKE_C_COMPILER_LAUNCHER="$(which sccache)"
28-
fi
29-
if [[ "${CMAKE_CXX_COMPILER_LAUNCHER:-}" == "sccache" ]]; then
30-
export CMAKE_CXX_COMPILER_LAUNCHER="$(which sccache)"
31-
fi
3225
"$ci_dir/install-ubuntu.sh"
3326
fi
3427
elif [[ "$os_family" == "macOS" ]]; then

0 commit comments

Comments
 (0)