Home
last modified time | relevance | path

Searched full:sccache (Results 1 – 25 of 59) sorted by relevance

123

/external/executorch/.ci/docker/common/
Dinstall_cache.sh16 echo "Preparing to build sccache from source"
21 echo "Checking out sccache repo"
22 git clone https://github.com/mozilla/sccache -b v0.8.2
24 cd sccache
25 echo "Building sccache"
27 cp target/release/sccache /opt/cache/bin
30 rm -rf sccache
36 echo "Downloading sccache binary from S3 repo"
37 curl --retry 3 https://s3.amazonaws.com/ossci-linux/sccache -o /opt/cache/bin/sccache
38 chmod +x /opt/cache/bin/sccache
[all …]
Dinstall_pytorch.sh46 # Print sccache stats for debugging
47 as_ci_user sccache --show-stats
/external/pytorch/.ci/pytorch/
Dcommon-build.sh9 if which sccache > /dev/null; then
10 # Save sccache logs to file
11 sccache --stop-server > /dev/null 2>&1 || true
15 echo "::group::Sccache Compilation Log"
16 echo '=================== sccache compilation log ==================='
19 sccache --show-stats
20 sccache --stop-server || true
25 # sccache fails to start, i.e. timeout error
29 # sccache --start-server seems to hang forever on self hosted runners for GHA
31 # as though sccache still gets used even when the sscache server isn't started
[all …]
Dmacos-build.sh14 … helper function wraps calls to binaries with sccache, but only if they're not already wrapped wit…
15 # For example, `clang` will be `sccache clang`, but `sccache clang` will not become `sccache sccach…
17 # that is sccache, and wrapping sccache around the process if its parent were not already sccache.
22 … -f1 | rev) | tr '\\\\n' ' ' | rev | cut -d' ' -f2 | rev) != sccache ]; then\n exec sccache %s \"…
26 if which sccache > /dev/null; then
27 # Create temp directory for sccache shims
86 if which sccache > /dev/null; then
Dinstall_cache_xla.sh3 # Script for installing sccache on the xla build job, which uses xla's docker
4 # image and doesn't have sccache installed on it. This is mostly copied from
7 # where sccache is installed, and not changing /etc/environment.
12 echo "Downloading sccache binary from S3 repo"
13 curl --retry 3 https://s3.amazonaws.com/ossci-linux/sccache -o /tmp/cache/bin/sccache
21 chmod a+x /tmp/cache/bin/sccache
28 …/bin/sh\nif [ \$(env -u LD_PRELOAD ps -p \$PPID -o comm=) != sccache ]; then\n exec sccache $(whi…
Dcommon_utils.sh103 if [ \$(env -u LD_PRELOAD ps -p \$PPID -o comm=) != sccache ]; then
104 exec sccache /usr/local/cuda/bin/nvcc "\$@"
232 sccache --show-stats
235 sccache --show-stats --stats-format json | jq .stats \
236 > "sccache-stats-${BUILD_ENVIRONMENT}-${OUR_GITHUB_JOB_ID}.json"
238 echo "env var OUR_GITHUB_JOB_ID not set, will not write sccache stats to json"
Dbuild.sh178 # sccache will fail for CUDA builds if all cores are used for compiling
179 # gcc 7 with sccache seems to have intermittent OOM issue if all cores are used
181 …RONMENT" == *cuda* ]] || [[ "$BUILD_ENVIRONMENT" == *gcc7* ]]; } && which sccache > /dev/null; then
320 …# remove sccache wrappers post-build; runtime compilation of MIOpen kernels does not yet fully sup…
403 # snadampal: skipping it till sccache support added for aarch64
/external/pytorch/.ci/docker/common/
Dinstall_cache.sh6 echo "Preparing to build sccache from source"
11 echo "Checking out sccache repo"
12 git clone https://github.com/pytorch/sccache
13 cd sccache
14 echo "Building sccache"
16 cp target/release/sccache /opt/cache/bin
19 rm -rf sccache
25 echo "Downloading sccache binary from S3 repo"
26 curl --retry 3 https://s3.amazonaws.com/ossci-linux/sccache -o /opt/cache/bin/sccache
36 curl --retry 3 http://repo.radeon.com/misc/.sccache_amd/sccache -o /opt/cache/bin/sccache
[all …]
/external/pytorch/.github/workflows/
D_mac-build.yml47 sccache-use-gha:
51 description: If true, use the Github cache as the storage option for sccache instead of S3.
68 …SCCACHE_USE_GHA: ${{ inputs.sccache-use-gha }} # this is placed here instead of the sccache step …
106 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
120 if [ ! -f "${LOCAL_PATH}/sccache" ]; then
123 LOCAL_VERSION=$("${LOCAL_PATH}/sccache" --version | cut -d" " -f2)
131 …rs "https://s3.amazonaws.com/ossci-macos/sccache/sccache-v0.4.1-${RUNNER_ARCH}" --output "${LOCAL_…
132 sudo chmod +x "${LOCAL_PATH}/sccache"
146 # This is needed so that later build script could find sccache (which sccache)
178 # NB: Same trick as Linux, there is no need to initialize sccache with the risk of getting
[all …]
Dgenerated-macos-arm64-binary-conda-nightly.yml49 # For sccache access (only on non-forked PRs)
101 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
109 …retry-all-errors https://s3.amazonaws.com/ossci-macos/sccache_v2.15 --output /usr/local/bin/sccache
110 sudo chmod +x /usr/local/bin/sccache
166 # For sccache access (only on non-forked PRs)
218 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
226 …retry-all-errors https://s3.amazonaws.com/ossci-macos/sccache_v2.15 --output /usr/local/bin/sccache
227 sudo chmod +x /usr/local/bin/sccache
283 # For sccache access (only on non-forked PRs)
335 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
[all …]
Dgenerated-macos-arm64-binary-wheel-nightly.yml50 # For sccache access (only on non-forked PRs)
102 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
110 …retry-all-errors https://s3.amazonaws.com/ossci-macos/sccache_v2.15 --output /usr/local/bin/sccache
111 sudo chmod +x /usr/local/bin/sccache
168 # For sccache access (only on non-forked PRs)
220 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
228 …retry-all-errors https://s3.amazonaws.com/ossci-macos/sccache_v2.15 --output /usr/local/bin/sccache
229 sudo chmod +x /usr/local/bin/sccache
286 # For sccache access (only on non-forked PRs)
338 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
[all …]
Dgenerated-macos-arm64-binary-libtorch-cxx11-abi-nightly.yml53 # For sccache access (only on non-forked PRs)
105 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
113 …retry-all-errors https://s3.amazonaws.com/ossci-macos/sccache_v2.15 --output /usr/local/bin/sccache
114 sudo chmod +x /usr/local/bin/sccache
/external/pytorch/.ci/pytorch/win-test-helpers/installation-helpers/
Dinstall_sccache.bat4 IF EXIST %TMP_DIR_WIN%\bin\sccache.exe (
5 taskkill /im sccache.exe /f /t || ver > nul
6 del %TMP_DIR_WIN%\bin\sccache.exe || ver > nul
9 …-errors -k https://s3.amazonaws.com/ossci-windows/sccache-v0.7.4.exe --output %TMP_DIR_WIN%\bin\sc…
11 aws s3 cp s3://ossci-windows/sccache-v0.7.4.exe %TMP_DIR_WIN%\bin\sccache.exe
/external/pytorch/.ci/pytorch/win-test-helpers/
Dbuild_pytorch.bat94 :: The default sccache idle timeout is 600, which is too short and leads to intermittent build erro…
97 sccache --stop-server
98 sccache --start-server
99 sccache --zero-stats
100 set CMAKE_C_COMPILER_LAUNCHER=sccache
101 set CMAKE_CXX_COMPILER_LAUNCHER=sccache
111 :: randomtemp.exe and sccache.exe into a batch file which CMake invokes.
115 …echo @"%TMP_DIR_WIN%\bin\randomtemp.exe" "%TMP_DIR_WIN%\bin\sccache.exe" "%CUDA_PATH%\bin\nvcc.exe…
119 set CMAKE_CUDA_COMPILER_LAUNCHER=%TMP_DIR%/bin/randomtemp.exe;%TMP_DIR%\bin\sccache.exe
128 sccache --show-stats
[all …]
/external/executorch/.ci/scripts/
Dsetup-macos.sh58 … -f1 | rev) | tr '\\\\n' ' ' | rev | cut -d' ' -f2 | rev) != sccache ]; then\n exec sccache %s \"…
68 export RUST_LOG=sccache::server=error
73 if ! command -v sccache &> /dev/null; then
74 …3 "https://s3.amazonaws.com/ossci-macos/sccache/sccache-v0.4.1-${RUNNER_ARCH}" --output "${SCCACHE…
75 sudo chmod +x "${SCCACHE_PATH}/sccache"
80 # Create temp directory for sccache shims if TMP_DIR doesn't exist
92 sccache --zero-stats || true
/external/pytorch/.ci/caffe2/
Dcommon.sh18 if which sccache > /dev/null; then
19 # Save sccache logs to file
20 sccache --stop-server || true
22 SCCACHE_ERROR_LOG=~/sccache_error.log SCCACHE_IDLE_TIMEOUT=0 sccache --start-server
24 # Report sccache stats for easier debugging
25 sccache --zero-stats
/external/angle/build/config/
Dpch.gni16 # supported by sccache: https://github.com/mozilla/sccache/issues/978.
/external/angle/build/toolchain/
Dcc_wrapper.gni8 # ccache, sccache: c/c++ compiler caches which can greatly reduce recompilation
32 # Set to "ccache", "sccache", "icecc" or "distcc".
/external/harfbuzz_ng/.github/workflows/
Dmsvc-ci.yml35 variant: sccache
50 sccache --version
/external/pytorch/.github/templates/
Dmacos_binary_build_workflow.yml.j283 - name: Install sccache (only for non-forked PRs, and pushes to trunk)
91 …retry-all-errors https://s3.amazonaws.com/ossci-macos/sccache_v2.15 --output /usr/local/bin/sccache
92 sudo chmod +x /usr/local/bin/sccache
/external/pytorch/.ci/docker/ubuntu-cuda/
DDockerfile97 # Install triton, this needs to be done before sccache because the latter will
114 # Install ccache/sccache (do this last, so we get priority in PATH)
122 ENV CMAKE_CUDA_COMPILER_LAUNCHER=/opt/cache/bin/sccache
/external/OpenCL-CTS/
Dpresubmit.sh93 CMAKE_CACHE_OPTIONS="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
/external/pytorch/.ci/docker/ubuntu-xpu/
DDockerfile71 # Install triton, this needs to be done before sccache because the latter will
106 # Install ccache/sccache (do this last, so we get priority in PATH)
/external/pytorch/.ci/docker/ubuntu-rocm/
DDockerfile101 # Install triton, this needs to be done before sccache because the latter will
117 # Install ccache/sccache (do this last, so we get priority in PATH)
/external/pytorch/.ci/docker/centos-rocm/
DDockerfile105 # Install triton, this needs to be done before sccache because the latter will
123 # Install ccache/sccache (do this last, so we get priority in PATH)

123