File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change 6
6
ROCM_VER : 5-4
7
7
jobs :
8
8
compile-rocm :
9
- runs-on : ubuntu-20 .04
9
+ runs-on : ubuntu-22 .04
10
10
steps :
11
11
- name : Install dependencies
12
12
run : |
13
- sudo apt-get update
14
- sudo apt-get install -y --no-install-recommends wget lsb-core software-properties-common gpg curl
13
+ sudo apt update
14
+ sudo apt install -y --no-install-recommends wget lsb-core software-properties-common gpg curl
15
15
- name : Install extra dependencies
16
16
run : |
17
- curl -fsSL https://repo.radeon.com/rocm/rocm.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/rocm-keyring.gpg
18
- echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/debian focal main' | sudo tee /etc/apt/sources.list.d/rocm.list
19
- sudo apt-get update
20
- sudo apt-get install -y rocm-hip-runtime
17
+ sudo mkdir --parents --mode=0755 /etc/apt/keyrings
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
21
+ echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
22
+ sudo apt update
23
+ sudo apt install -y rocm-hip-runtime
21
24
- uses : actions/checkout@v3
22
25
with :
23
26
submodules : recursive
24
27
- name : Build Open MPI
25
28
run : |
26
29
./autogen.pl
27
30
./configure --prefix=${PWD}/install --with-rocm=/opt/rocm --disable-mpi-fortran
28
- make -j
29
- - name : Clean up
30
- run : |
31
- ls -la ./
32
- rm -rf ./*
33
- rm -rf ./.??*
34
- ls -la ./
31
+ LD_LIBRARY_PATH=/opt/rocm/lib make -j
You can’t perform that action at this time.
0 commit comments