From 5c9cb660ec0d00a6800f86e5b53d23434d10c630 Mon Sep 17 00:00:00 2001 From: Tom Lin Date: Sun, 24 Sep 2023 23:15:58 +0100 Subject: [PATCH] Increase CI root reserve for ROCm and tmp spills 3 --- src/ci-prepare-bionic.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ci-prepare-bionic.sh b/src/ci-prepare-bionic.sh index 6a1a959..f5c1a70 100755 --- a/src/ci-prepare-bionic.sh +++ b/src/ci-prepare-bionic.sh @@ -260,7 +260,11 @@ setup_clang_gcc() { } setup_rocm() { - sudo apt-get install -y rocm-dev rocthrust-dev + if [ "$SETUP" = true ]; then + sudo apt-get install -y rocm-dev rocthrust-dev + else + echo "Skipping apt setup for ROCm" + fi export_var ROCM_PATH "/opt/rocm" export_var PATH "$ROCM_PATH/bin:$PATH" # ROCm needs this for many of their libraries' CMake build to work export_var HIP_CXX "$ROCM_PATH/bin/hipcc"