Skip to content

Commit b6af46a

Browse files
committed
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 <[email protected]>
1 parent b858b9f commit b6af46a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/compile-rocm.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: ROCM
33
on: [pull_request]
44

55
env:
6-
ROCM_VER: 5-4
6+
ROCM_VER: 6-2
77
jobs:
88
compile-rocm:
99
runs-on: ubuntu-22.04
@@ -16,16 +16,17 @@ jobs:
1616
run: |
1717
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
1818
wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
19-
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
20-
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
19+
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/6.2.2/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/amdgpu.list
20+
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.2.2 jammy main" | sudo tee --append /etc/apt/sources.list.d/rocm.list
2121
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
2222
sudo apt update
23-
sudo apt install -y rocm-hip-runtime
23+
sudo apt install -y rocm-hip-runtime hip-dev
2424
- uses: actions/checkout@v4
2525
with:
2626
submodules: recursive
2727
- name: Build Open MPI
2828
run: |
29+
ls -l /opt/rocm-6.2.2/include
2930
./autogen.pl
30-
./configure --prefix=${PWD}/install --with-rocm=/opt/rocm --disable-mpi-fortran
31-
LD_LIBRARY_PATH=/opt/rocm/lib make -j
31+
./configure --prefix=${PWD}/install --with-rocm=/opt/rocm-6.2.2 --disable-mpi-fortran
32+
LD_LIBRARY_PATH=/opt/rocm-6.2.2/lib make -j

0 commit comments

Comments
 (0)