From 41b3ce2a9d79c634545d18f62374f9cdc88b28dd Mon Sep 17 00:00:00 2001 From: Edgar Gabriel Date: Fri, 11 Oct 2024 17:02:29 -0500 Subject: [PATCH] pr-checks: update compile-rocm action update the compile-rocm github action to use ROCM 6.2.2 instead of 5.7.1 Signed-off-by: Edgar Gabriel --- .github/workflows/compile-rocm.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compile-rocm.yaml b/.github/workflows/compile-rocm.yaml index 2ce2a80f01a..6db935a1a31 100644 --- a/.github/workflows/compile-rocm.yaml +++ b/.github/workflows/compile-rocm.yaml @@ -3,7 +3,7 @@ name: ROCM on: [pull_request] env: - ROCM_VER: 5-4 + ROCM_VER: 6.2.2 jobs: compile-rocm: runs-on: ubuntu-22.04 @@ -16,11 +16,11 @@ jobs: run: | sudo mkdir --parents --mode=0755 /etc/apt/keyrings wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null - echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/5.7.1/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/amdgpu.list - echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/5.7.1 jammy main" | sudo tee --append /etc/apt/sources.list.d/rocm.list + echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/${ROCM_VER}/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/amdgpu.list + echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/${ROCM_VER} jammy main" | sudo tee --append /etc/apt/sources.list.d/rocm.list echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600 sudo apt update - sudo apt install -y rocm-hip-runtime + sudo apt install -y rocm-hip-runtime hip-dev - uses: actions/checkout@v4 with: submodules: recursive