File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,10 @@ 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
4846 -
uses :
mozilla-actions/[email protected] 49- - uses : actions/cache@v4
50- with :
51- path : ~/dist
52- key : dist-${{ matrix.opencv-version }}
5347
5448 - uses : actions/cache@v4
5549 with :
@@ -153,17 +147,10 @@ jobs:
153147 OPENCV_VERSION : 4.11.0
154148 SCCACHE_GHA_ENABLED : " true"
155149 RUSTC_WRAPPER : " sccache"
156- CMAKE_C_COMPILER_LAUNCHER : " sccache"
157- CMAKE_CXX_COMPILER_LAUNCHER : " sccache"
158150 steps :
159151 - uses : actions/checkout@v4
160152 -
uses :
mozilla-actions/[email protected] 161153
162- - uses : actions/cache@v4
163- with :
164- path : ~/dist
165- key : dist-${{ env.OPENCV_VERSION }}
166-
167154 - uses : actions/cache@v4
168155 with :
169156 path : ~/build
Original file line number Diff line number Diff 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
3427elif [[ " $os_family " == " macOS" ]]; then
You can’t perform that action at this time.
0 commit comments