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 66 ROCM_VER : 5-4
77jobs :
88 compile-rocm :
9- runs-on : ubuntu-20 .04
9+ runs-on : ubuntu-22 .04
1010 steps :
1111 - name : Install dependencies
1212 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
1515 - name : Install extra dependencies
1616 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
2124 - uses : actions/checkout@v3
2225 with :
2326 submodules : recursive
2427 - name : Build Open MPI
2528 run : |
2629 ./autogen.pl
2730 ./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