Skip to content

Commit 91792de

Browse files
committed
disable sccache-dist in rust-build because conda rust toolchains are too large
1 parent 6587e23 commit 91792de

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ci/build_rust.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,17 @@ set -eu
2727

2828
source rapids-configure-sccache
2929

30+
# Don't use the build cluster because conda rust toolchains are too large
31+
export SCCACHE_NO_DIST_COMPILE=1
32+
# shellcheck disable=SC2155
33+
export SCCACHE_S3_KEY_PREFIX="cuvs-rs/$(uname -m)/cuda${RAPIDS_CUDA_VERSION%.*}"
34+
3035
rapids-print-env
3136

3237
rapids-logger "Begin rust build"
3338

3439
sccache --stop-server 2>/dev/null || true
3540

36-
# shellcheck disable=SC2155
37-
export SCCACHE_S3_KEY_PREFIX="cuvs-rs/$(uname -m)/cuda${RAPIDS_CUDA_VERSION%.*}"
38-
3941
# we need to set up LIBCLANG_PATH to allow rust bindgen to work,
4042
# grab it from the conda env
4143
LIBCLANG_PATH=$(dirname "$(find /opt/conda -name libclang.so | head -n 1)")

0 commit comments

Comments
 (0)