Increase CI root reserve for ROCm and tmp spills 3

This commit is contained in:
Tom Lin 2023-09-24 23:15:58 +01:00
parent 717c40cb3d
commit 5c9cb660ec

View File

@ -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"