File tree Expand file tree Collapse file tree 5 files changed +12
-2
lines changed Expand file tree Collapse file tree 5 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -29,3 +29,4 @@ rattler-build build --recipe conda/recipes/libwholegraph \
2929 " ${RATTLER_CHANNELS[@]} "
3030
3131sccache --show-adv-stats
32+ sccache --stop-server > /dev/null 2>&1 || true
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ rattler-build build --recipe conda/recipes/pylibwholegraph \
3939 " ${RATTLER_CHANNELS[@]} "
4040
4141sccache --show-adv-stats
42- sccache --stop-server 2 > /dev/null || true
42+ sccache --stop-server > /dev/null 2>&1 || true
4343
4444rapids-logger " Building cugraph-pyg"
4545
@@ -52,7 +52,7 @@ rattler-build build --recipe conda/recipes/cugraph-pyg \
5252 " ${RATTLER_CHANNELS[@]} "
5353
5454sccache --show-adv-stats
55- sccache --stop-server 2 > /dev/null || true
55+ sccache --stop-server > /dev/null 2>&1 || true
5656
5757# remove build_cache directory to avoid uploading the entire source tree
5858# tracked in https://github.com/prefix-dev/rattler-build/issues/1424
Original file line number Diff line number Diff line change 3030source rapids-configure-sccache
3131source rapids-date-string
3232
33+ # shellcheck disable=SC2155
34+ export SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX=" ${package_name} /${RAPIDS_CONDA_ARCH} /cuda${RAPIDS_CUDA_VERSION%% .* } /wheel/preprocessor-cache"
35+ export SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE=true
36+
3337rapids-generate-version > ./VERSION
3438
3539RAPIDS_PY_CUDA_SUFFIX=" $( rapids-wheel-ctk-name-gen " ${RAPIDS_CUDA_VERSION} " ) "
@@ -47,6 +51,7 @@ rapids-pip-retry wheel \
4751 .
4852
4953sccache --show-adv-stats
54+ sccache --stop-server > /dev/null 2>&1 || true
5055
5156# pure-python packages should be marked as pure, and not have auditwheel run on them.
5257if [[ ${package_name} == " cugraph-pyg" ]]; then
Original file line number Diff line number Diff line change 5555 SCCACHE_REGION : ${{ env.get("SCCACHE_REGION", default="") }}
5656 SCCACHE_S3_KEY_PREFIX : libwholegraph/${{ env.get("RAPIDS_CONDA_ARCH") }}/cuda${{ cuda_major }}
5757 SCCACHE_S3_NO_CREDENTIALS : ${{ env.get("SCCACHE_S3_NO_CREDENTIALS", default="false") }}
58+ SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX : libwholegraph/${{ env.get("RAPIDS_CONDA_ARCH") }}/cuda${{ cuda_major }}/conda/preprocessor-cache
59+ SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE : ${{ env.get("SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE", default="true") }}
5860 SCCACHE_S3_USE_SSL : ${{ env.get("SCCACHE_S3_USE_SSL", default="true") }}
5961 SCCACHE_SERVER_LOG : ${{ env.get("SCCACHE_SERVER_LOG", default="sccache=debug") }}
6062
Original file line number Diff line number Diff line change 5050 SCCACHE_REGION : ${{ env.get("SCCACHE_REGION", default="") }}
5151 SCCACHE_S3_KEY_PREFIX : pylibwholegraph/${{ env.get("RAPIDS_CONDA_ARCH") }}/cuda${{ cuda_major }}
5252 SCCACHE_S3_NO_CREDENTIALS : ${{ env.get("SCCACHE_S3_NO_CREDENTIALS", default="false") }}
53+ SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX : pylibwholegraph/${{ env.get("RAPIDS_CONDA_ARCH") }}/cuda${{ cuda_major }}/conda/preprocessor-cache
54+ SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE : ${{ env.get("SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE", default="true") }}
5355 SCCACHE_S3_USE_SSL : ${{ env.get("SCCACHE_S3_USE_SSL", default="true") }}
5456 SCCACHE_SERVER_LOG : ${{ env.get("SCCACHE_SERVER_LOG", default="sccache=debug") }}
5557
You can’t perform that action at this time.
0 commit comments