diff --git a/features/src/rapids-build-utils/devcontainer-feature.json b/features/src/rapids-build-utils/devcontainer-feature.json index b6792894..fe3190f2 100644 --- a/features/src/rapids-build-utils/devcontainer-feature.json +++ b/features/src/rapids-build-utils/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "NVIDIA RAPIDS devcontainer build utilities", "id": "rapids-build-utils", - "version": "24.10.10", + "version": "24.10.9", "description": "A feature to install the RAPIDS devcontainer build utilities", "containerEnv": { "BASH_ENV": "/etc/bash.bash_env" diff --git a/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/cpp.build.tmpl.sh b/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/cpp.build.tmpl.sh index 4c79bffa..7bd7448e 100755 --- a/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/cpp.build.tmpl.sh +++ b/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/cpp.build.tmpl.sh @@ -17,6 +17,9 @@ build_${CPP_LIB}_cpp() { local -; set -euo pipefail; + # Stop the sccache server in case we need to reload credentials before starting the next build + sccache --stop-server >/dev/null 2>&1 || true; + eval "$(\ PARALLEL_LEVEL=${PARALLEL_LEVEL:-$(nproc --all)} \ MAX_TOTAL_SYSTEM_MEMORY="${MAX_TOTAL_SYSTEM_MEMORY:-${CPP_MAX_TOTAL_SYSTEM_MEMORY}}" \ diff --git a/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/python.build.wheel.tmpl.sh b/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/python.build.wheel.tmpl.sh index 86c89ae2..164bfae0 100755 --- a/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/python.build.wheel.tmpl.sh +++ b/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/python.build.wheel.tmpl.sh @@ -21,6 +21,9 @@ build_${PY_LIB}_python_wheel() { local -; set -euo pipefail; + # Stop the sccache server in case we need to reload credentials before starting the next build + sccache --stop-server >/dev/null 2>&1 || true; + eval "$( \ PARALLEL_LEVEL=${PARALLEL_LEVEL:-$(nproc --all)} \ rapids-get-num-archs-jobs-and-load "$@" \ diff --git a/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/python.install.tmpl.sh b/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/python.install.tmpl.sh index 4e2c94b5..3af8073d 100755 --- a/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/python.install.tmpl.sh +++ b/features/src/rapids-build-utils/opt/rapids-build-utils/bin/tmpl/python.install.tmpl.sh @@ -21,6 +21,9 @@ install_${PY_LIB}_python() { local -; set -euo pipefail; + # Stop the sccache server in case we need to reload credentials before starting the next build + sccache --stop-server >/dev/null 2>&1 || true; + eval "$( \ PARALLEL_LEVEL=${PARALLEL_LEVEL:-$(nproc --all)} \ rapids-get-num-archs-jobs-and-load "$@" \