File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: ROCM
3
3
on : [pull_request]
4
4
5
5
env :
6
- ROCM_VER : 5-4
6
+ ROCM_VER : 6-2
7
7
jobs :
8
8
compile-rocm :
9
9
runs-on : ubuntu-22.04
@@ -16,16 +16,17 @@ jobs:
16
16
run : |
17
17
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
18
18
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
21
21
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
22
22
sudo apt update
23
- sudo apt install -y rocm-hip-runtime
23
+ sudo apt install -y rocm-hip-runtime hip-dev
24
24
- uses : actions/checkout@v4
25
25
with :
26
26
submodules : recursive
27
27
- name : Build Open MPI
28
28
run : |
29
+ ls -l /opt/rocm-6.2.2/include
29
30
./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
You can’t perform that action at this time.
0 commit comments